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

Added level 7.

Level 7 is about publishing. It's still a little empty.
parent 51bbe020
package com.nesstar.tutorial;
import static org.junit.Assert.assertEquals;
import org.junit.Before;
import org.junit.Test;
import com.nesstar.api.NotAuthorizedException;
import com.nesstar.api.Server;
import com.nesstar.api.Study;
* Nesstar API Tutorial Level 7
* ============================
* In this tutorial you will learn about publishing
* data and metadata to a Nesstar server.
public class Level07 {
private Server server;
* Connect to the server first.
public void connectToServer() {
* Publish the study to the server.
public void publishDataAndMetadata() throws NotAuthorizedException, IOException {
Study study = null;
assertEquals("foo", study.getLabel());
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