class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
Spectrum | /** A Spectrum is a representation of colors implemented as RGB colors. */
public class Spectrum {
public float r, g, b;
/** default spectrum (0,0,0) */
public Spectrum() {
r = 0.f;
g = 0.f;
b = 0.f;
}
/**
* Set spectrum to passed RGB values
*
* @param r red
* @param g green
* @p... | .version 52 0
.class public super Spectrum
.super java/lang/Object
.field public r F
.field public g F
.field public b F
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: fconst_0
L6: putfield Field Sp... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:38:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:38:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,400 |
Address | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super Address
.super java/lang/Object
.field private type Ljava/lang/String;
.field private street Ljava/lang/String;
.field private city Ljava/lang/String;
.field private state Ljava/lang/String;
.field private zip Ljava/lang/String;
.field private country Ljava/lang/String;
.meth... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:04:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFileOutputStream;
import org.evosuit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:04:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,401 |
AbortedException | // ==============================================================================
//
// Copyright (c) 2014-
// Authors:
// * Joachim Klein <klein@tcs.inf.tu-dresden.de>
// * David Mueller <david.mueller@tcs.inf.tu-dresden.de>
//
// ------------------------------------------------------------------------------
//
// Thi... | .version 52 0
.class public super AbortedException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.li... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:56:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:56:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,402 |
GeneSearchQuery | /*
* MIT License
*
* Copyright (c) 2016 EPAM Systems
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | .version 52 0
.class public super GeneSearchQuery
.super java/lang/Object
.field private search Ljava/lang/String;
.field private vcfFileIdsByProject Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/Long;Ljava/util/List<Ljava/lang/Long;>;>;
.end fieldattributes
.method public <init> : (... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:17:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:17:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,403 |
Script | /**
* Copyright 2013 Sean Kavanagh - sean.p.kavanagh6@gmail.com
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless requir... | .version 52 0
.class public super Script
.super java/lang/Object
.field id Ljava/lang/Long;
.field script Ljava/lang/String;
.field displayNm Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:28:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:28:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,404 |
Request | import java.nio.channels.SocketChannel;
public class Request {
private SocketChannel channel;
private byte[] requestString;
public Request(SocketChannel c, byte[] buf) {
this.channel = c;
this.requestString = buf;
}
public SocketChannel getChannel() {
return this.channel;
}
public byte[] g... | .version 52 0
.class public super Request
.super java/lang/Object
.field private channel Ljava/nio/channels/SocketChannel;
.field private requestString [B
.method public <init> : (Ljava/nio/channels/SocketChannel;[B)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:45:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.channels.SocketChannel;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:45:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,405 |
FigureNotFoundException | /**
* . class FigureNotFoundException extends Exception
*
* @author Mikhail Vlasov
* @since 8.23.2017
* @version 1
*/
public class FigureNotFoundException extends Exception {
/**
* . Constructor for FigureNotFoundException.
*
* @param fnfe message.
*/
public FigureNotFoundException(String fnfe) {
... | .version 52 0
.class public super FigureNotFoundException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:05:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:05:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,406 |
SlowTcpClient | import java.io.*;
import java.net.Socket;
/**
* @author Gun Lee (gunlee01@gmail.com) on 2017. 7. 20.
*/
public class SlowTcpClient {
public static void main(String[] args) throws IOException, InterruptedException {
Socket socket = new Socket("127.0.0.1", 8080);
try (OutputStreamWriter os = new OutputStream... | .version 52 0
.class public super SlowTcpClient
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:20:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:20:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,407 |
FloeRun | import java.text.SimpleDateFormat;
import java.util.Date;
/** Created by Louis on 16/03/2016. */
public class FloeRun {
private long runID;
private long runTime;
private int runDuration;
private String runName;
// Do we need another attribute with the location of beginning of this run's data in the dataPt
... | .version 52 0
.class public super FloeRun
.super java/lang/Object
.field private runID J
.field private runTime J
.field private runDuration I
.field private runName Ljava/lang/String;
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:50:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:50:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,408 |
TaxCategoryActionUtils | /** Created by Davis on 17/1/3. */
public final class TaxCategoryActionUtils {
/** Instantiates a new Tax category action utils. */
private TaxCategoryActionUtils() {}
/** The constant Tax_Category_root. */
private static final String TAX_CATEGORY_ROOT = "tax_category_";
/** The constant set_name. */
publ... | .version 52 0
.class public final super TaxCategoryActionUtils
.super java/lang/Object
.field private static final TAX_CATEGORY_ROOT Ljava/lang/String; = 'tax_category_'
.field public static final SET_NAME Ljava/lang/String; = 'tax_category_set_name'
.field public static final SET_DESCRIPTION Ljava/lang/String; = ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:20:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:20:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 142,409 |
AccountHolder | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2007, Red Hat, Inc. and/or it's affiliates or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license... | .version 52 0
.class public super AccountHolder
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private lastName Ljava/lang/String;
.field private ssn Ljava/lang/String;
.field private transient deserialized Z
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:36:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:36:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,410 |
Main | import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
public class Main {
public static void main(String[] args) throws IOException {
try (BufferedReader bufferedReader = new BufferedReader(new FileRe... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:09:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:09:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,411 |
TestCardLayout | import java.awt.*;
import java.awt.event.*;
/**
* Description: <br>
* Copyright (C), 2005-2008, Yeeku.H.Lee <br>
* This program is protected by copyright laws. <br>
* Program Name: <br>
* Date:
*
* @author Yeeku.H.Lee kongyeeku@163.com
* @version 1.0
*/
public class TestCardLayout {
Frame f = new Frame("²âÊ... | .version 52 0
.class public super TestCardLayout
.super java/lang/Object
.field f Ljava/awt/Frame;
.field names [Ljava/lang/String;
.field pl Ljava/awt/Panel;
.field c Ljava/awt/CardLayout;
.method public <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:57:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:57:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,412 |
BitFileWriter | import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
public class BitFileWriter {
DataOutputStream dos;
public BitFileWriter(String outputFileName) throws FileNotFoundException {
FileOutputStream fos = new FileOutputStream(outputF... | .version 52 0
.class public super BitFileWriter
.super java/lang/Object
.field dos Ljava/io/DataOutputStream;
.method public <init> : (Ljava/lang/String;)V
.code stack 4 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: new java/io/FileOutputStream
L7: dup
L8: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:00:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:00:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,413 |
HBaseClient | public class HBaseClient {}
| .version 52 0
.class public super HBaseClient
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:45:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:45:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,414 |
NopolExample | public class NopolExample {
/*
* Return true if a is odd number
*/
public boolean isOddNumber(int a) {
int tmp = (a - 1) % 2;
if (tmp != 0) { // Fix : tmp == 0
return true;
}
return false;
}
private void method(boolean aBoolean) {
int reachableVariable = 3;
int unreachable... | .version 52 0
.class public super NopolExample
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:11:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:11:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,415 |
Solution | public class Solution {
public int maxProfit(int[] prices) {
int minSoFar = Integer.MAX_VALUE;
int maxProfit = 0;
for (int n : prices) {
maxProfit = Math.max(maxProfit, n - minSoFar);
minSoFar = Math.min(minSoFar, n);
}
return maxProfit;
}
}
| .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:26:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:26:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,416 |
RedirectDetails | /** $Id$ */
import java.io.Serializable;
/** Holds information about why a page was blocked. */
@SuppressWarnings("serial")
public class RedirectDetails implements Serializable {
private static final int MAX_LEN = 40;
private String host;
private String uri;
/**
* Create a RedirectDetails instance for the... | .version 52 0
.class public super RedirectDetails
.super java/lang/Object
.implements java/io/Serializable
.field private static final MAX_LEN I = 40
.field private host Ljava/lang/String;
.field private uri Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 lo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:49:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:49:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,417 |
Test01 | public class Test01 {}
| .version 52 0
.class public super Test01
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:59:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:59:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,418 |
GameSelectedInfo | /** Created by Administrator on 2017/6/13. */
public class GameSelectedInfo {}
| .version 52 0
.class public super GameSelectedInfo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:25:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:25:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,419 |
SuperTest | /*
* Copyright (C) 2015 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class super SuperTest
.super java/lang/Object
.field thingies Z
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field SuperTest thingies Z
L9: return
L10:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:39:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:39:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,420 |
LinearReferencingInfo | /***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* DOCUMENT ME!
*
*... | .version 52 0
.class public super LinearReferencingInfo
.super java/lang/Object
.field private fromField Ljava/lang/String;
.field private tillField Ljava/lang/String;
.field private linRefReferenceName Ljava/lang/String;
.field private geomField Ljava/lang/String;
.field private srcLinRefJoinField Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:38:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:38:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,421 |
BlobImpl | /*--------------------------------------------------------------------------
* Copyright 2007 Taro L. Saito
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | .version 52 0
.class public super BlobImpl
.super java/lang/Object
.implements java/sql/Blob
.field rawData [B
.method public <init> : ([B)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field BlobImpl raw... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:48:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.InputStream;
import java.sql.Blob;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:48:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,422 |
CtsResultReset | public class CtsResultReset {
private String mCtsReportDir = null;
public CtsResultReset(String ctsReportDir) {
mCtsReportDir = ctsReportDir;
}
protected String loadCtsReport() {
return null;
}
public void resetCtsReport() {}
public void resetCtsReport(String ctsReportDir) {
mCtsReportDir ... | .version 52 0
.class public super CtsResultReset
.super java/lang/Object
.field private mCtsReportDir Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aconst_null
L6: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:53:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:53:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,423 |
MonitorConfiguration | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project
// root.
/**
* The configuration of a cluster monitor instance
*
* @author bratseth
*/
public class MonitorConfiguration {
/** The interval in ms between consecutive checks of the monitored nodes */
private fina... | .version 52 0
.class public super MonitorConfiguration
.super java/lang/Object
.field private final checkInterval J = 1000L
.field private final requestTimeout J = 980L
.field private final failLimit J = 5000L
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:09:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:09:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,424 |
CsvReader | import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Function;
public class CsvReader {
public static <T> List<T> readCsv(Str... | .version 52 0
.class public super CsvReader
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:12:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.function.Function;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParam... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:12:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,425 |
PrettyPrint | import static java.lang.Double.isNaN;
import java.util.concurrent.TimeUnit;
public class PrettyPrint {
public static String msecs(long msecs, boolean truncate) {
final long hr = TimeUnit.MILLISECONDS.toHours(msecs);
msecs -= TimeUnit.HOURS.toMillis(hr);
final long min = TimeUnit.MILLISECONDS.toMinutes(m... | .version 52 0
.class public super PrettyPrint
.super java/lang/Object
.field static final SCALE [Ljava/lang/String;
.field static powers10 [D
.field public static powers10i [J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:17:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:17:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,426 |
ErrorInfo | /**
* Copyright 2014 Lockheed Martin Corporation
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicabl... | .version 52 0
.class public super ErrorInfo
.super java/lang/Object
.implements java/io/Serializable
.field private error Ljava/lang/String;
.field private errorTimeSecs I
.field private host Ljava/lang/String;
.field private port I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:37:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:37:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,427 |
Person | public class Person {
private int id;
private String firstName;
private String lastName;
public Person() {}
public Person(int id, String firstName, String lastName) {
this.id = id;
this.firstName = firstName;
this.lastName = lastName;
}
public String getLastName() {
return lastName;
}... | .version 52 0
.class public super Person
.super java/lang/Object
.field private id I
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: r... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:51:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:51:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,428 |
PtrUIHandlerHook | /**
* Run a hook runnable, the runnable will run only once. After the runnable is done, call resume to
* resume. Once run, call takeover will directory call the resume action
*/
public abstract class PtrUIHandlerHook implements Runnable {
private Runnable mResumeAction;
private static final byte STATUS_PREPARE ... | .version 52 0
.class public super abstract PtrUIHandlerHook
.super java/lang/Object
.implements java/lang/Runnable
.field private mResumeAction Ljava/lang/Runnable;
.field private static final STATUS_PREPARE B = 0
.field private static final STATUS_IN_HOOK B = 1
.field private static final STATUS_RESUMED B = 2
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:56:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:56:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 142,429 |
TimeUtil | // Copyright (c) 2003-present, Jodd Team (http://jodd.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// th... | .version 52 0
.class public super TimeUtil
.super java/lang/Object
.field public static final SECONDS_IN_DAY I = 86400
.field public static final MILLIS_IN_DAY J = 86400000L
.field public static final HTTP_DATE_FORMAT Ljava/text/SimpleDateFormat;
.method public <init> : ()V
.code stack 1 locals 1
L0: a... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:37:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZoneOffset;
import java.util.Calendar;
import java.util.Date;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:37:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,430 |
DateFormatTest | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | .version 52 0
.class public super DateFormatTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 20
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:35:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:35:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,431 |
HearingComment | /*
* Copyright 2009 Kantega AS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | .version 52 0
.class public super HearingComment
.super java/lang/Object
.field private id I
.field private date Ljava/util/Date;
.field private hearingId I
.field private userRef Ljava/lang/String;
.field private comment Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:53:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:53:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,432 |
Messaggio | import java.io.Serializable;
public class Messaggio implements Serializable {
public String username;
public String message;
public Messaggio(String username, String message) {
this.username = username;
this.message = message;
}
}
| .version 52 0
.class public super Messaggio
.super java/lang/Object
.implements java/io/Serializable
.field public username Ljava/lang/String;
.field public message Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespeci... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:05:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:05:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,433 |
JobSDeployedEvent | public class JobSDeployedEvent {
@Override
public String toString() {
return "JobsDeployedEvent";
}
}
| .version 52 0
.class public super JobSDeployedEvent
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:23:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:23:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,434 |
LogException | public class LogException extends Exception {
private static final long serialVersionUID = 1L;
public LogException(Throwable cause) {
super(cause);
}
public LogException(String message, Throwable cause) {
super(message, cause);
}
public LogException() {}
public LogException(String string) {
... | .version 52 0
.class public super LogException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwable... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:31:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:31:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,435 |
LargestNumber | import java.util.ArrayList;
import java.util.List;
/**
* @author mingqiao @Date 2020/2/8
*/
public class LargestNumber {
public String largestNumber(int[] nums) {
if (nums == null || nums.length == 0) {
return "";
}
List<String> list = new ArrayList<>();
for (int i = 0; i < nums.length; i++)... | .version 52 0
.class public super LargestNumber
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:17:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:17:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,436 |
CatchUtil | import java.util.function.Consumer;
import java.util.function.Function;
/** Created by shuqin on 17/6/24. */
public class CatchUtil {
public static <T, R> R tryDo(T t, Function<T, R> func) {
try {
return func.apply(t);
} catch (Exception e) {
e.printStackTrace(); // for log
throw new Runti... | .version 52 0
.class public super CatchUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:07:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.function.Consumer;
import java.util.functio... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:07:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,437 |
HmacSHA256Utils | import java.util.List;
import java.util.Map;
public class HmacSHA256Utils {
/**
* description:
*
* @param key=token content=phone
* @return
*/
public static String digest(String key, String content) {
// try {
// Mac mac = Mac.getInstance("HmacSHA256");
// b... | .version 52 0
.class public super HmacSHA256Utils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:17:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:17:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,438 |
RequestException | ///////////////////////////////////////////////////////////////////////////////
//
// PACKAGE : com.astra.ses.spell.gui.core.comm.messages
//
// FILE : RequestException.java
//
// DATE : Nov 4, 2010
//
// Copyright (C) 2008, 2015 SES ENGINEERING, Luxembourg S.A.R.L.
//
// By using this software in any way, ... | .version 52 0
.class public super RequestException
.super java/io/IOException
.field private static final serialVersionUID J = 0L
.field public isFatal Z
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/IOException <i... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:13:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:13:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,439 |
SnitchingException | /*
* Copyright © 2017 the original authors (http://cereebro.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | .version 52 0
.class public super SnitchingException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 2986000013370000092L
.field private final snitchUri Ljava/net/URI;
.method public <init> : (Ljava/net/URI;Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 4
L... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:51:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.URI;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:51:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,440 |
MatcherTest | import java.util.regex.Pattern;
public class MatcherTest {
public static void main(String[] args) {
Animal tiger = new Tiger();
Animal giraffe = new Giraffe();
String s = "The Giraffe runs and the Tiger eats trees.";
Pattern p1 = Pattern.compile("Tiger");
Pattern p2 = Pattern.compile("Giraffe");... | .version 52 0
.class public super MatcherTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:52:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:52:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,441 |
SnapshotOptions | /*
Copyright 2011-2014 Red Hat, Inc
This file is part of PressGang CCMS.
PressGang CCMS is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any... | .version 52 0
.class public super SnapshotOptions
.super java/lang/Object
.field private addRevisions Z
.field private addFixedUrls Z
.field private updateRevisions Z
.field private revision Ljava/lang/Integer;
.field private translation Z
.field private translationLocale Ljava/lang/String;
.method public <in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:40:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:40:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,442 |
Assert | /*******************************************************************************
* Copyright 2013 Naver Business Platform Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | .version 52 0
.class public super Assert
.super java/lang/Object
.field private static final MESSAGE_FORMAT Ljava/lang/String; = '"%s" argument must be not null.'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:45:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:45:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,443 |
OntologyWord | public class OntologyWord {
private final String ontologyIri;
private final String word;
public OntologyWord(String ontologyIri, String word) {
this.ontologyIri = ontologyIri;
this.word = word;
}
public String getOntologyIri() {
return ontologyIri;
}
public String getWord() {
return wor... | .version 52 0
.class public super OntologyWord
.super java/lang/Object
.field private final ontologyIri Ljava/lang/String;
.field private final word Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:10:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:10:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,444 |
test | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class test {
public static void main(String[] args) {
String driver = "com.mysql.jdbc.Driver";
String dbName = "longchenhan";
String passwrod = "123456";
String userName... | .version 52 0
.class public super test
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:00:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:00:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,445 |
DownloadManager | import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.URL;
/**
* Downloader Downloads file from internet and save at give url
*
* @author Hunger-Sona
*/
public class DownloadManager {
/** Defualt Constructor: */
pu... | .version 52 0
.class public super DownloadManager
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 20
L4 22
.end linenumb... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:14:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:14:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,446 |
Messages | /*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | .version 52 0
.class public super abstract Messages
.super java/lang/Object
.field public static final INVALID_TOKEN Ljava/lang/String; = 'Failed to get a valid token from AccountManager: {0}'
.field public static final NULL_TOKEN Ljava/lang/String; = 'Got null token from AccountManager, if this is the first time t... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:49:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:49:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,447 |
HelloInvocationHandler | import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/** Created by F.Fang on 2015/12/2. */
public class HelloInvocationHandler implements InvocationHandler {
/** 被代理的目标对象. */
private Object target;
public HelloInvocationHandler(Object target) {
super(... | .version 52 0
.class public super HelloInvocationHandler
.super java/lang/Object
.implements java/lang/reflect/InvocationHandler
.field private target Ljava/lang/Object;
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init>... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:05:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.lang.reflect.Method;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:05:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,448 |
Regex | import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Regex {
public boolean match(String regex, String value) {
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(value);
return matcher.matches();
}
public boolean matchCaseInsensitive(String regex, St... | .version 52 0
.class public super Regex
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:46:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:46:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,449 |
Dept | import java.io.Serializable;
/**
* 报修科室实体类
*
* @author Alex Jones @Time 2017-04-17 22:44:01
*/
public class Dept implements Serializable {
private int ksid; // 科室ID
private String ksmc; // 科室名称
private String ksmcpy; // 科室名称拼音
private int kslxid; // 科室类型ID
private String hcbz; // 耗材备注
public Dept() {}... | .version 52 0
.class public super Dept
.super java/lang/Object
.implements java/io/Serializable
.field private ksid I
.field private ksmc Ljava/lang/String;
.field private ksmcpy Ljava/lang/String;
.field private kslxid I
.field private hcbz Ljava/lang/String;
.method public <init> : ()V
.code stack 1 lo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:01:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:01:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,450 |
TwoWord | import java.io.*;
import java.util.regex.Pattern;
public class TwoWord {
public static void main(String[] args) {
Pattern regex1 =
Pattern.compile("\\b([a-z]+)((?:\\s|\\<[^>]+\\>)+)(\\1\\b)", Pattern.CASE_INSENSITIVE);
String replace1 = "\033[7m$1\033[m$2\033[7m$3\033[m";
Pattern regex2 = Pattern... | .version 52 0
.class public super TwoWord
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:57:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedReader;
import java.io.StringReader;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.r... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:57:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,451 |
WalletException | /*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | .version 52 0
.class public super WalletException
.super java/lang/Exception
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwable;)V
L5: return
L6:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:40:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:40:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,452 |
FinalVariables | public class FinalVariables {
// for the prupose of understanding, these vars are declred public; it should be private elsewhere
public final int finalInt = 1;
public int nonFinalInt = 2;
public static void main(String args[]) {
final FinalVariables finalVariables =
new FinalVariables(); // see the... | .version 52 0
.class public super FinalVariables
.super java/lang/Object
.field public final finalInt I = 1
.field public nonFinalInt I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_1
L6: put... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:04:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:04:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,453 |
StringRotator | public class StringRotator {
final String given;
public StringRotator(String input) {
given = input;
}
public boolean isRotationOf(String possibleRotation) {
final String appended = given + given;
return given.length() == possibleRotation.length() && appended.contains(possibleRotation);
}
}
| .version 52 0
.class public super StringRotator
.super java/lang/Object
.field final given Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:50:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:50:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,454 |
Food | /** Created by talha on 08.02.2016. */
/** { "cal": "350cal", "error": false, "name": "KURU FASULYE" } */
public class Food {
public String cal;
public String name;
public boolean error;
}
| .version 52 0
.class public super Food
.super java/lang/Object
.field public cal Ljava/lang/String;
.field public name Ljava/lang/String;
.field public error Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:23:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:23:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,455 |
TraceData | public class TraceData {
public String message;
public String tracer;
public String span;
}
| .version 52 0
.class public super TraceData
.super java/lang/Object
.field public message Ljava/lang/String;
.field public tracer Ljava/lang/String;
.field public span Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init>... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:03:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:03:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,456 |
WaitUntil | import java.io.BufferedReader;
import java.io.FileReader;
/** Scan the log unti it finds that you have to press ENTER. */
class WaitUntil {
public static void main(String[] args) throws Exception {
// read input
FileReader is = new FileReader(args[0]);
BufferedReader br = new BufferedReader(is);
Stri... | .version 52 0
.class super WaitUntil
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:46:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:46:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,457 |
ResourceLink | public class ResourceLink {
private String href;
public ResourceLink(String href) {
this.href = href;
}
ResourceLink() {}
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
}
| .version 52 0
.class public super ResourceLink
.super java/lang/Object
.field private href Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:17:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:17:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,458 |
trace | public class trace {
public static int k;
public static void mm() {}
// @ requires true;
// @ assignable k;
// @ signals (Exception e) false;
public void m() {
k = 1;
mm();
k = 2;
return;
}
// @ requires true;
// @ assignable k;
// @ ensures k == 2;
// @ signals (Exception e) k... | .version 52 0
.class public super trace
.super java/lang/Object
.field public static k I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:31:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:31:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,459 |
ImageGenerator | /*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super abstract ImageGenerator
.super java/lang/Object
.field public width I
.field public height I
.field private final bi Ljava/awt/image/BufferedImage;
.method public <init> : (IILjava/awt/Color;)V
.code stack 6 locals 5
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:49:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:49:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 142,460 |
Seating | /*
* Copyright 2005 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class public super Seating
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 510L
.field private id I
.field private pid I
.field private leftSeat I
.field private rightSeat I
.field private leftGuestName Ljava/lang/String;
.field private ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:55:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:55:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,461 |
NameGenerator | import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class NameGenerator {
private List vocals = new ArrayList();
private List startConsonants = new ArrayList();
private List endConsonants = new ArrayList();
private List nameInstructions = new ArrayList();
public NameGenerator... | .version 52 0
.class public super NameGenerator
.super java/lang/Object
.field private vocals Ljava/util/List;
.field private startConsonants Ljava/util/List;
.field private endConsonants Ljava/util/List;
.field private nameInstructions Ljava/util/List;
.method public <init> : ()V
.code stack 4 locals 5
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:19:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:19:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,462 |
Joystick | public abstract class Joystick {
public boolean directionPin1On = false;
public boolean directionPin2On = false;
public double value = 2.5;
public void reset() {
value = 2.5;
}
public abstract void read() throws Exception;
}
| .version 52 0
.class public super abstract Joystick
.super java/lang/Object
.field public directionPin1On Z
.field public directionPin2On Z
.field public value D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:32:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:32:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 142,463 |
TeleportManager | import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class TeleportManager {
private static final List<UUID> moved = new ArrayList<>();
private static final List<UUID> needToTeleport = new ArrayList<>();
private static final List<UUID> limitHit = new ArrayList<>();
public static v... | .version 52 0
.class public super TeleportManager
.super java/lang/Object
.field private static final moved Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/util/UUID;>;
.end fieldattributes
.field private static final needToTeleport Ljava/util/List; .fieldattributes
.signature Ljava/ut... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:30:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockUUID;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:30:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,464 |
AnetConstants | public class AnetConstants {
public static final String USERCACHE_MESSAGE = "Domain Users Cache is cleared successfully";
public static final String USERCACHE_EMPTY_MESSAGE = "Domain Users Cache is already empty";
public static final String DICTIONARY_RELOAD_MESSAGE = "ANET Dictionary is updated successfully";
... | .version 52 0
.class public super AnetConstants
.super java/lang/Object
.field public static final USERCACHE_MESSAGE Ljava/lang/String; = 'Domain Users Cache is cleared successfully'
.field public static final USERCACHE_EMPTY_MESSAGE Ljava/lang/String; = 'Domain Users Cache is already empty'
.field public static f... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:30:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:30:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,465 |
RandomSetGeneratorSlow | import java.util.HashSet;
import java.util.Iterator;
import java.util.Random;
/**
* A PRNG that returns unique (distinct) entries in sorted order. The set doesn't need to be kept
* fully in memory. Also, with more than 100'000 entries, this is faster that generating the set
* fully in memory (due to not having to k... | .version 52 0
.class public super RandomSetGeneratorSlow
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:52:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Random;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:52:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,466 |
PrivateKeyImpl | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class public super PrivateKeyImpl
.super java/lang/Object
.implements java/security/PrivateKey
.field private static final serialVersionUID J = 7776497482533790279L
.field private algorithm Ljava/lang/String;
.field private encoding [B
.method public <init> : (Ljava/lang/String;)V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:53:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:53:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,467 |
ClassDependencyExtractor | import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ClassDependencyExtractor {
private static Pattern REGEX = Pattern.compile("L?((\\w+/)+\\w+)");
private String contents;
public ClassDependencyExtractor(byte[] contents) {
this(new Str... | .version 52 0
.class public super ClassDependencyExtractor
.super java/lang/Object
.field private static REGEX Ljava/util/regex/Pattern;
.field private contents Ljava/lang/String;
.method public <init> : ([B)V
.code stack 4 locals 2
L0: aload_0
L1: new java/lang/String
L4: dup
L5: aload_1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:41:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:41:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,468 |
AdapterMethodIdiom | // : holding/AdapterMethodIdiom.java
// The "Adapter Method" idiom allows you to use foreach
// with additional kinds of Iterables.
import java.util.*;
class ReversibleArrayList<T> extends ArrayList<T> {
public ReversibleArrayList(Collection<T> c) {
super(c);
}
public Iterable<T> reversed() {
return new... | .version 52 0
.class public super AdapterMethodIdiom
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:41:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:41:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,469 |
G | public class G {
public static int theme = 0;
}
| .version 52 0
.class public super G
.super java/lang/Object
.field public static theme I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:29:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:29:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,470 |
SymbolTable | import java.util.*;
public class SymbolTable {
private final String fileName;
int nextLabel;
public SymbolTable(String fileName) {
this.fileName = fileName;
}
public String newLabel() {
return "LABEL" + nextLabel++;
}
public String staticVarName(int value) {
return fileName + "." + value;
... | .version 52 0
.class public super SymbolTable
.super java/lang/Object
.field private final fileName Ljava/lang/String;
.field nextLabel I
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: a... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:06:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:06:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,471 |
ThreadUtils | /* This file is part of VoltDB.
* Copyright (C) 2008-2010 VoltDB L.L.C.
*
* VoltDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version... | .version 52 0
.class public super ThreadUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 20
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:00:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:00:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,472 |
IrcFailedConnectException | /*
* Adrastea IRC Bot
* Version 2.0.0 (Java)
*
* (c) 2011 Sam Thompson <sam@websyntax.net>
* License: http://www.opensource.org/licenses/mit-license.php The MIT License
*/
public class IrcFailedConnectException extends Exception {}
| .version 52 0
.class public super IrcFailedConnectException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:08:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:08:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,473 |
FacebookError | /*
* Copyright 2010 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | .version 52 0
.class public super FacebookError
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.field private mErrorCode I
.field private mErrorType Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:49:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:49:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,474 |
ChangePointResults | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author pierpaolo
*/
public class ChangePointResults implements Comparable<ChangePointResults> {
private int index;
priv... | .version 52 0
.class public super ChangePointResults
.super java/lang/Object
.implements java/lang/Comparable
.field private index I
.field private value D
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:06:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:06:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,475 |
DbConstants | /*
* Copyright (C) 2011 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | .version 52 0
.class public final super DbConstants
.super java/lang/Object
.field public static final MAJOR_VERSION I = 0
.field public static final MINOR_VERSION I = 1
.field public static final NUM_LEVELS I = 7
.field public static final L0_COMPACTION_TRIGGER I = 4
.field public static final L0_SLOWDOWN_WRITE... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:42:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:42:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 142,476 |
SynchMeth | public class SynchMeth {
public int x;
public static void main(String[] args) {
new SynchMeth().run();
}
public synchronized void run() {
x = x + 9;
}
}
| .version 52 0
.class public super SynchMeth
.super java/lang/Object
.field public x I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:46:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:46:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,477 |
CobsUtils | public class CobsUtils {
// Expected to be the entire packet to encode
public static byte[] encode(byte[] packet) {
if (packet == null || packet.length == 0) {
return new byte[] {};
}
byte[] output = new byte[packet.length + 2];
byte blockStartValue = 1;
int lastZeroIndex = 0;
int sr... | .version 52 0
.class public super CobsUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:17:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:17:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,478 |
PrintHelper | /** Helps with outputting numbers. */
public class PrintHelper {
/**
* Returns number in 0xABCDEF-Format
*
* @param n
* @return
*/
public static String printHexNumber(int n) {
return "0x" + Integer.toHexString(n).toUpperCase();
}
}
| .version 52 0
.class public super PrintHelper
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:40:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:40:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,479 |
UnsatisfiedLinkError | /*
* $Header: /cvshome/build/ee.foundation/src/java/lang/UnsatisfiedLinkError.java,v 1.6 2006/03/14 01:20:25 hargrave Exp $
*
* (C) Copyright 2001 Sun Microsystems, Inc.
* Copyright (c) OSGi Alliance (2001, 2005). All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | .version 52 0
.class public super UnsatisfiedLinkError
.super java/lang/LinkageError
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/LinkageError <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:59:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:59:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,480 |
AuthorityPermissions | import java.io.Serializable;
import java.util.Date;
/**
* @author jak
* @version 1.0
* @date 12/21/16
*/
public class AuthorityPermissions implements Serializable {
private Long id;
private Long authorityId;
private Long permissionId;
private Date gmtCreate;
private Date gmtModified;
public Long getI... | .version 52 0
.class public super AuthorityPermissions
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/Long;
.field private authorityId Ljava/lang/Long;
.field private permissionId Ljava/lang/Long;
.field private gmtCreate Ljava/util/Date;
.field private gmtModified Ljava/u... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:53:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:53:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,481 |
PropertyEditorException | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super PropertyEditorException
.super java/lang/IllegalArgumentException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/IllegalArgumentException <init> ()V
L4: return
L5:
.linenumbertable
L0 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:41:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:41:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,482 |
MutableHttpConnectionPool | import java.io.Serializable;
/**
* @author korest
* @author Pablo Tirado
*/
public class MutableHttpConnectionPool implements Serializable {
private int allocatedConnections;
public int getAllocatedConnections() {
return allocatedConnections;
}
public void setAllocatedConnections(int allocatedConnect... | .version 52 0
.class public super MutableHttpConnectionPool
.super java/lang/Object
.implements java/io/Serializable
.field private allocatedConnections I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:41:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:41:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,483 |
MyArray | public class MyArray {
public static byte[] arrayCat(byte[] buf1, byte[] buf2) {
byte[] bufret = null;
int len1 = 0;
int len2 = 0;
if (buf1 != null) len1 = buf1.length;
if (buf2 != null) len2 = buf2.length;
if (len1 + len2 > 0) bufret = new byte[len1 + len2];
if (len1 > 0) System.arraycop... | .version 52 0
.class public super MyArray
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:24:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:24:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,484 |
MiniSeries | /** */
/**
* @author Cameron
*/
public class MiniSeries {
private int losses;
private char[] progress;
private int target;
private long timeLeftToPlayMillis;
private int wins;
public int getLosses() {
return losses;
}
public void setLosses(int losses) {
this.losses = losses;
}
public ... | .version 52 0
.class public super MiniSeries
.super java/lang/Object
.field private losses I
.field private progress [C
.field private target I
.field private timeLeftToPlayMillis J
.field private wins I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:43:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:43:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,485 |
RegisterRequest | import java.io.Serializable;
public class RegisterRequest implements Serializable {
private String username;
private String password;
private String role;
private String firstName;
private String lastName;
private String address;
private String phone;
public RegisterRequest(
String username,
... | .version 52 0
.class public super RegisterRequest
.super java/lang/Object
.implements java/io/Serializable
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.field private role Ljava/lang/String;
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:18:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:18:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,486 |
Attribute | import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
/**
* POJO for an MBean attribute
*
* @author Damien Dallimore damien@baboonbones.com
*/
public class Attribute {
// Attribute name. Deep attributes can be delimited with a ":"
// Example , A:B:C
public String name;
// n... | .version 52 0
.class public super Attribute
.super java/lang/Object
.field public name Ljava/lang/String;
.field public outputname Ljava/lang/String;
.field private tokens Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private static final ATTRI... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:18:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:18:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,487 |
FileUtil | /*
* Copyright 2002-2014 SCOOP Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | .version 52 0
.class public super FileUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:18:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:18:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,488 |
Pessoa | public class Pessoa {
private String nome;
private int idade;
private double altura;
private double peso;
private char sexo;
public Pessoa(String nome, int idade, double altura, double peso, char sexo) {
nome = this.nome;
idade = this.idade;
altura = this.altura;
peso = this.peso;
sexo... | .version 52 0
.class public super Pessoa
.super java/lang/Object
.field private nome Ljava/lang/String;
.field private idade I
.field private altura D
.field private peso D
.field private sexo C
.method public <init> : (Ljava/lang/String;IDDC)V
.code stack 2 locals 8
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:53:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:53:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,489 |
NonUniqueIdentifierException | public class NonUniqueIdentifierException extends RuntimeException {
/** NonUniqueIdentifierException UID */
private static final long serialVersionUID = 3273714954543611186L;
/** Create an NonUniqueIdentifierException */
public NonUniqueIdentifierException() {
super();
}
/**
* Create an NonUnique... | .version 52 0
.class public super NonUniqueIdentifierException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 3273714954543611186L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:46:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:46:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,490 |
Summoner | import java.io.Serializable;
/*
* Copyright 2014 Taylor Caldwell
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | .version 52 0
.class public super Summoner
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -8213488199644701555L
.field private id J
.field private revisionDate J
.field private summonerLevel J
.field private profileIconId I
.field private name Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:11:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:11:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,491 |
Immutable | public class Immutable {
public static String upcase(String s) {
return s.toUpperCase();
}
public static void main(String[] args) {
String q = "howdy";
System.out.println(q);
String qq = upcase(q);
System.out.println(qq);
System.out.println(q);
}
}
/** Output: howdy HOWDY howdy */
| .version 52 0
.class public super Immutable
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:36:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:36:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,492 |
Configurador | import java.io.FileInputStream;
import java.util.Properties;
public class Configurador {
private String idioma;
private String região;
private String arquivoAjuda;
public Configurador() throws Exception {
// Abre o Arquivo de Propriedades
FileInputStream arq = new FileInputStream("config.ini");
... | .version 52 0
.class public super Configurador
.super java/lang/Object
.field private idioma Ljava/lang/String;
.field private 'região' Ljava/lang/String;
.field private arquivoAjuda Ljava/lang/String;
.method public <init> : ()V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lan... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:33:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:33:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,493 |
PropertyNotFoundException | /** Exception lancée lorsqu'une propriété n'a pas été trouvée */
public class PropertyNotFoundException extends Exception {
public PropertyNotFoundException(String msg) {
super(msg);
}
}
| .version 52 0
.class public super PropertyNotFoundException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:34:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:34:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,494 |
LSFCosTable | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
/**
* @author Jing Dai
* @author Dingxin Xu
*/
public class LSFCosTable {
// Q12 values (even)
static int[] SKP_Silk_LSFCosTab_FIX_Q12 = {
8192, 8190, 8182, 817... | .version 52 0
.class public super LSFCosTable
.super java/lang/Object
.field static SKP_Silk_LSFCosTab_FIX_Q12 [I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:10:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:10:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,495 |
ClosureFlags | public class ClosureFlags {
private static final int BASE_MAX = 1 << 3;
public static final int NONE = 0;
public static final int BOUNDED = 1;
public static final int SCRIPT = 2;
public static final int SERIES_HORIZ = 3;
public static final int SERIES_VERT = 4;
public static final int DIVIDER = 1 * BA... | .version 52 0
.class public super ClosureFlags
.super java/lang/Object
.field private static final BASE_MAX I = 8
.field public static final NONE I = 0
.field public static final BOUNDED I = 1
.field public static final SCRIPT I = 2
.field public static final SERIES_HORIZ I = 3
.field public static final SERIES... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:06:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:06:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,496 |
CreditScore | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | .version 52 0
.class public super CreditScore
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -452032042185332788L
.field private ssn Ljava/lang/String;
.field private score I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:26:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:26:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,497 |
Argument | /*
* Copyright 2015 XXX
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | .version 52 0
.class public super Argument
.super java/lang/Object
.field private author Ljava/lang/String;
.field private voteUpCount Ljava/lang/Integer;
.field private voteDownCount I
.field private stance Ljava/lang/String;
.field private text Ljava/lang/String;
.field private parentId Ljava/lang/String;
.f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:52:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:52:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,498 |
Randomization | import java.util.Random;
/**
* A wrapper for static randomization functions.
*
* @author rfonseca
*/
public class Randomization {
private static java.util.Random rand = new java.util.Random();
public static Random getGenerator() {
return rand;
}
/**
* Return a uniform random number between (includ... | .version 52 0
.class public super Randomization
.super java/lang/Object
.field private static rand Ljava/util/Random;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:31:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:31:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 142,499 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.