mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 07:27:56 +01:00
Merge branch 'feature/WISE-214-JasmineTests' into feature/remove_mootols
This commit is contained in:
commit
0eef0c1f83
@ -40,6 +40,24 @@
|
|||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>2.5</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.searls</groupId>
|
||||||
|
<artifactId>jasmine-maven-plugin</artifactId>
|
||||||
|
<version>1.3.1.5</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>test</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<!-- configuration properties will go here -->
|
||||||
|
<sourceIncludes>
|
||||||
|
<include>Functions.js</include>
|
||||||
|
</sourceIncludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>net.alchim31.maven</groupId>
|
<groupId>net.alchim31.maven</groupId>
|
||||||
|
10
core-js/src/test/javascript/testSuite.js
Normal file
10
core-js/src/test/javascript/testSuite.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
describe("Functions suite test", function() {
|
||||||
|
it("$defined() test spec", function() {
|
||||||
|
var testVariable = undefined;
|
||||||
|
expect($defined(testVariable)).toBe(false);
|
||||||
|
testVariable = 1;
|
||||||
|
expect($defined(testVariable)).toBe(true);
|
||||||
|
testVariable = null;
|
||||||
|
expect($defined(testVariable)).toBe(false);
|
||||||
|
});
|
||||||
|
});
|
@ -254,6 +254,31 @@
|
|||||||
<skipTests>true</skipTests>
|
<skipTests>true</skipTests>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.searls</groupId>
|
||||||
|
<artifactId>jasmine-maven-plugin</artifactId>
|
||||||
|
<version>1.3.1.4</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>test</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<browserVersion>FIREFOX_3_6</browserVersion>
|
||||||
|
<webDriverClassName>org.openqa.selenium.firefox.FirefoxDriver</webDriverClassName>
|
||||||
|
|
||||||
|
<sourceIncludes>
|
||||||
|
<sourceInclude>libraries/mootools/mootools-core-1.4.5-full-nocompat.js</sourceInclude>
|
||||||
|
<sourceInclude>header.js</sourceInclude>
|
||||||
|
</sourceIncludes>
|
||||||
|
<specExcludes>
|
||||||
|
<exclude>static/test/*.js</exclude>
|
||||||
|
<exclude>simpleTest.js</exclude>
|
||||||
|
</specExcludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
5
pom.xml
5
pom.xml
@ -90,6 +90,11 @@
|
|||||||
<artifactId>native2ascii-maven-plugin</artifactId>
|
<artifactId>native2ascii-maven-plugin</artifactId>
|
||||||
<version>1.0-beta-1</version>
|
<version>1.0-beta-1</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.searls</groupId>
|
||||||
|
<artifactId>jasmine-maven-plugin</artifactId>
|
||||||
|
<version>1.3.1.5</version>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
Loading…
Reference in New Issue
Block a user