Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaetan Chaboussie
Plugin-intellij-OFBiz
Commits
b7310e2f
Commit
b7310e2f
authored
Sep 08, 2021
by
Gaetan Chaboussie
Browse files
Ajout d'un embryon de tests
parent
1eda774d
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.gradle.kts
View file @
b7310e2f
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import
io.gitlab.arturbosch.detekt.Detekt
import
org.jetbrains.changelog.markdownToHTML
import
org.jetbrains.kotlin.gradle.tasks.KotlinCompile
...
...
@@ -28,6 +45,7 @@ repositories {
}
dependencies
{
detektPlugins
(
"io.gitlab.arturbosch.detekt:detekt-formatting:1.17.1"
)
testImplementation
(
"junit:junit:4.13"
)
}
// Configure gradle-intellij-plugin plugin.
...
...
@@ -116,4 +134,18 @@ tasks {
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
channels
.
set
(
listOf
(
properties
(
"pluginVersion"
).
split
(
'-'
).
getOrElse
(
1
)
{
"default"
}.
split
(
'.'
).
first
()))
}
test
{
useJUnit
()
maxHeapSize
=
"256m"
}
}
sourceSets
{
test
{
java
{
srcDir
(
"src/test/java"
)
}
resources
.
srcDir
(
"src/tests/resources"
)
}
}
src/test/java/org/apache/plugin/test/OfbizPluginTestCase.java
0 → 100644
View file @
b7310e2f
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package
org.apache.plugin.test
;
import
com.intellij.openapi.diagnostic.Logger
;
import
com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
;
public
class
OfbizPluginTestCase
extends
LightJavaCodeInsightFixtureTestCase
{
public
OfbizPluginTestCase
()
{
super
();
final
Logger
LOG
=
Logger
.
getInstance
(
OfbizPluginTestCase
.
class
);
}
public
void
testMiseEnPlaceStructure
()
{
assert
true
;
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment