Commit 86bc86e3 by 刘旭

test

0 parents
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test.dituhui.com</groupId>
<artifactId>var</artifactId>
<version>0.0.1${saas.version}</version>
</parent>
<groupId>test.dituhui.com</groupId>
<artifactId>var-c</artifactId>
<version>0.0.1${saas.version}</version>
<name>var-c</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.dituhui.saas</groupId>
<artifactId>framework</artifactId>
<version>0.0.1${saas.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>var-c</finalName>
<resources>
<resource>
<directory>resources</directory>
<filtering>true</filtering>
<includes>
<include>*</include>
</includes>
</resource>
<resource>
<directory>resources</directory>
<includes>
<include>static/**/*</include>
</includes>
</resource>
</resources>
</build>
</project>
package org.var.c;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
}
}
package org.var.c;
import org.springframework.stereotype.Service;
@Service
public class TestC {
public String test(){
//注释
System.out.println("aaa");
return "bbb";
}
}
package org.var.c;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}
/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!