Skip to content
Snippets Groups Projects
Commit 336cf801 authored by Jørgen Stamnes's avatar Jørgen Stamnes
Browse files

Add gitpod-test repo to gitlab

parent 0e8ac2f8
Branches master
No related tags found
No related merge requests found
Showing
with 341 additions and 0 deletions
FROM gitpod/workspace-full-vnc
USER gitpod
# Install custom tools, runtime, etc. using apt-get
# For example, the command below would install "bastet" - a command line tetris clone:
#
# RUN sudo apt-get -q update && # sudo apt-get install -yq bastet && # sudo rm -rf /var/lib/apt/lists/*
#
# More information: https://www.gitpod.io/docs/42_config_docker/
tasks:
- init: sdk use 11.0.2-open
command: cd ovinger && mvn clean -Dmaven.test.skip=true package
image:
file: .gitpod.Dockerfile
ports:
# used by virtual desktop and vnc, supports JavaFX
- port: 6080
vscode:
extensions:
- vscjava.vscode-java-pack@0.8.1:LRImBn//d5JhH4PUEI1BaQ==
- vscjava.vscode-java-test@0.22.1:Z4zyXcgmx4SbkaGmi700Jw==
\ No newline at end of file
# Default ignored files
/workspace.xml
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="11.0.4" project-jdk-type="JavaSDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/gitpod-test.iml" filepath="$PROJECT_DIR$/.idea/gitpod-test.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
{
"configurations": [
{
"type": "java",
"name": "CodeLens (Launch) - AccountApp",
"request": "launch",
"mainClass": "encapsulation.account.AccountApp",
"projectName": "ovinger"
},
{
"type": "java",
"name": "CodeLens (Launch) - Account",
"request": "launch",
"mainClass": "encapsulation.Account",
"projectName": "ovinger"
},
{
"type": "java",
"name": "CodeLens (Launch) - Account",
"request": "launch",
"mainClass": "Account",
"projectName": "ovinger"
},
{
"type": "java",
"name": "CodeLens (Launch) - Account",
"request": "launch",
"mainClass": "tdt4100.ovinger.app.encapsulation.Account",
"projectName": "ovinger"
}
]
}
\ No newline at end of file
{
"java.configuration.updateBuildConfiguration": "automatic",
"java.test.log.level": "verbose",
"java.test.report.showAfterExecution": "always",
"java.debug.settings.forceBuildBeforeLaunch": false
}
\ No newline at end of file
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "verify",
"type": "shell",
"command": "mvn -B verify",
"group": "build"
},
{
"label": "test Account",
"type": "shell",
"command": "cd ovinger && mvn -Dtest=AccountTest test",
"group": "test",
"problemMatcher": []
},
{
"label": "Run Account",
"type": "shell",
"command": "cd ovinger && mvn exec:java -Dexec.mainClass='stateandbehavior.Account'",
"problemMatcher": []
},
{
"label": "test Location",
"type": "shell",
"command": "cd ovinger && mvn -Dtest=LocationTest test",
"group": "test",
"problemMatcher": []
},
{
"label": "Run Location",
"type": "shell",
"command": "cd ovinger && mvn exec:java -Dexec.mainClass='stateandbehavior.Location'",
"problemMatcher": []
},
{
"label": "test Digit",
"type": "shell",
"command": "cd ovinger && mvn -Dtest=DigitTest test",
"group": "test",
"problemMatcher": []
},
{
"label": "Run Digit",
"type": "shell",
"command": "cd ovinger && mvn exec:java -Dexec.mainClass='stateandbehavior.Digit'",
"problemMatcher": []
},
{
"label": "test UpOrDownCounter",
"type": "shell",
"command": "cd ovinger && mvn -Dtest=UpOrDownCounterTest test",
"group": "test",
"problemMatcher": []
},
{
"label": "Run UpOrDownCounter",
"type": "shell",
"command": "cd ovinger && mvn exec:java -Dexec.mainClass='stateandbehavior.UpOrDownCounterTest'",
"problemMatcher": []
},
{
"label": "test Rectangle",
"type": "shell",
"command": "cd ovinger && mvn -Dtest=RectangleTest test",
"group": "test",
"problemMatcher": []
},
{
"label": "Run Rectangle",
"type": "shell",
"command": "cd ovinger && mvn exec:java -Dexec.mainClass='stateandbehavior.Rectangle'",
"problemMatcher": []
},
{
"label": "test LineEditor",
"type": "shell",
"command": "cd ovinger && mvn -Dtest=LineEditorTest test",
"group": "test",
"problemMatcher": []
},
{
"label": "Run LineEditor",
"type": "shell",
"command": "cd ovinger && mvn exec:java -Dexec.mainClass='stateandbehavior.LineEditor'",
"problemMatcher": []
},
{
"label": "test StopWatch",
"type": "shell",
"command": "cd ovinger && mvn -Dtest=StopWatchTest test",
"group": "test",
"problemMatcher": []
},
{
"label": "Run StopWatch",
"type": "shell",
"command": "cd ovinger && mvn exec:java -Dexec.mainClass='stateandbehavior.StopWatch'",
"problemMatcher": []
},
{
"label": "run AccountApp",
"type": "shell",
"command": "cd tdt4100-assignment-with-javafx && mvn -PAccountApp exec:java",
"group": "test",
"problemMatcher": []
},
]
}
\ No newline at end of file
{
"java.configuration.updateBuildConfiguration": "automatic"
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="tests">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
# Default ignored files
/workspace.xml
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="ovinger" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="ovinger" target="1.7" />
</bytecodeTargetLevel>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/src" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.apiguardian:apiguardian-api:1.0.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.junit.jupiter:junit-jupiter-api:5.4.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.4.2/junit-jupiter-api-5.4.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.4.2/junit-jupiter-api-5.4.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.4.2/junit-jupiter-api-5.4.2-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.junit.jupiter:junit-jupiter-engine:5.4.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.4.2/junit-jupiter-engine-5.4.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.4.2/junit-jupiter-engine-5.4.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.4.2/junit-jupiter-engine-5.4.2-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.junit.platform:junit-platform-commons:1.4.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.4.2/junit-platform-commons-1.4.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.4.2/junit-platform-commons-1.4.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.4.2/junit-platform-commons-1.4.2-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.junit.platform:junit-platform-engine:1.4.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.4.2/junit-platform-engine-1.4.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.4.2/junit-platform-engine-1.4.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.4.2/junit-platform-engine-1.4.2-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment