<commit_before>/**
 * 
 */
package com.github.podd.client.api.test;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;

import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.openrdf.model.Model;
import org.openrdf.model.vocabulary.OWL;
import org.openrdf.model.vocabulary.RDF;
import org.openrdf.rio.RDFFormat;
import org.openrdf.rio.RDFHandlerException;
import org.openrdf.rio.RDFParseException;
import org.openrdf.rio.Rio;
import org.semanticweb.owlapi.model.IRI;
import org.semanticweb.owlapi.model.OWLOntologyID;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.github.podd.api.file.DataReference;
import com.github.podd.client.api.PoddClient;
import com.github.podd.utils.DebugUtils;
import com.github.podd.utils.InferredOWLOntologyID;
import com.github.podd.utils.PoddRdfConstants;

/**
 * Abstract tests for {@link PoddClient}.
 * 
 * @author <NAME> <EMAIL>
 */
public abstract class AbstractPoddClientTest
{
    protected final Logger log = LoggerFactory.getLogger(this.getClass());
    
    protected static final String TEST_ADMIN_USER = "testAdminUser";
    protected static final String TEST_ADMIN_PASSWORD = "<PASSWORD>";
    
    private PoddClient testClient;
    <commit_msg>Add important note about never running client test against real server<commit_after>/**
 * 
 */
package com.github.podd.client.api.test;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;

import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.openrdf.model.Model;
import org.openrdf.model.vocabulary.OWL;
import org.openrdf.model.vocabulary.RDF;
import org.openrdf.rio.RDFFormat;
import org.openrdf.rio.RDFHandlerException;
import org.openrdf.rio.RDFParseException;
import org.openrdf.rio.Rio;
import org.semanticweb.owlapi.model.IRI;
import org.semanticweb.owlapi.model.OWLOntologyID;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.github.podd.api.file.DataReference;
import com.github.podd.client.api.PoddClient;
import com.github.podd.utils.DebugUtils;
import com.github.podd.utils.InferredOWLOntologyID;
import com.github.podd.utils.PoddRdfConstants;

/**
 * Abstract tests for {@link PoddClient}.
 * <p>
 * IMPORTANT: Never run these tests against a server containing real data, such as a production
 * server. After each test, the test attempts to reset the server, to enable other tests to be
 * easily verified.
 * 
 * @author <NAME> <EMAIL>
 */
public abstract class AbstractPoddClientTest
{
    protected final Logger log = LoggerFactory.getLogger(this.getClass());
    
    protected static final String TEST_ADMIN_USER = "testAdminUser";
    protected static final String TEST_ADMIN_PASSWORD = "<PASSWORD>";
    
    private PoddClient testClient;
    
{'fraction_non_alphanumeric': 0.10471544715447155, 'fraction_numerical': 0.0013008130081300813, 'mean_word_length': 4.98443579766537, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '833974', 'n_tokens_mistral': 1012, 'n_tokens_neox': 1007, 'n_words': 219}