Permalink
Browse files

GitIgnore changes for Eclipse IDE & Test case for 662

  • Loading branch information...
surya
surya committed Oct 19, 2017
1 parent c1e7780 commit 8bbe3fbf0cdefd3cbd1b1316c22b887de2a7291b
@@ -12,5 +12,19 @@ local.properties
**/.nb-gradle
**/integration-tests.war

Thumbs.db
.DS_Store
.gradle
build
bin
.classpath
.project
.settings
exploration
*.iml
*.ipr
*.iws
.idea

platform-examples/web-deployment-example/web-deployment-client/fxclient/fxclient.jar
integration-tests/log.txt
@@ -0,0 +1,30 @@
package com.canoo.impl.platform.core;

import static org.testng.Assert.assertEquals;

import org.testng.annotations.Test;

import com.canoo.dp.impl.platform.core.SimpleDolphinPlatformThreadFactory;

public class SimpleDolphinPlatformthreadFactoryTest {

@Test
public void testPlatformThread() {

SimpleDolphinPlatformThreadFactory sdptf = new SimpleDolphinPlatformThreadFactory();
Runnable r = new SimpleTask("High Priority Task");
assertEquals(sdptf.newThread(r).getThreadGroup().getName(), "Dolphin Platform executors");
}
}

class SimpleTask implements Runnable {
String s = null;

public SimpleTask(String s) {
this.s = s;
}

@Override
public void run() {
}
}

0 comments on commit 8bbe3fb

Please sign in to comment.