Commit fb16e489 authored by Ricco Førgaard's avatar Ricco Førgaard

Added first tutorial.

parent 156cc431
package com.nesstar.tutorial;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.nesstar.api.Server;
/**
* Nesstar API Tutorial Level 1
* ============================
*
* This tutorial will teach you to connect to a Nesstar Server.
*
* To connect to the server you need the following info:
* - URI: http://nora.nsd.uib.no
* - Username: nesstar
* - Password: nesstar
*
*/
public class Level01 {
@Test
public void test() {
fail("Not yet implemented");
public void connectToNesstarServer() {
Server server = null;
assertEquals("nesstar-nightly", server.getId());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment