text:
package com.zoowii.jpa_utils.query;

import com.google.common.base.Function;
import com.zoowii.jpa_utils.builders.QuerySqlBuilder;
import com.zoowii.jpa_utils.core.IWrappedQuery;
import com.zoowii.jpa_utils.core.Session;
import com.zoowii.jpa_utils.enums.SqlTypes;
import com.zoowii.jpa_utils.exceptions.JdbcRuntimeException;
import com.zoowii.jpa_utils.jdbcorm.ModelMeta;
import com.zoowii.jpa_utils.jdbcorm.sqlmapper.SqlMapper;
import com.zoowii.jpa_utils.orm.Model;
import com.zoowii.jpa_utils.util.ListUtil;
import com.zoowii.jpa_utils.util.StringUtil;
import com.zoowii.jpa_utils.util.functions.Function2;
import org.apache.commons.lang3.tuple.Pair;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;

public class Query<M> {
    protected String tableName = null;
    protected Class<?> cls = null;
    private Map<String, String> selectColumns = new HashMap<String, String>();
    protected List<OrderBy> orderBys = new ArrayList<OrderBy>();
    protected Expr condition = Expr.dummy();
    protected transient String _tableSymbol = null;
    protected int _limit = -1;
    protected int _offset = -1;
    protected Map<Integer, Object> indexParameters = new HashMap<Integer, Object>();
    protected Map<String, Object> mapParameters = new HashMap<String, Object>();
    protected List<JoinInfo> joinInfos = new ArrayList<JoinInfo>();
    protected Session session;
    protected static AtomicLong generatedNameCount = new AtomicLong(0L);
    protected boolean useAlias = false;
    protected String extraSql = "";
    protected String groupBySql = "";

    public Class<?> getModelClass() {
        return cls;
    }

    public Session getSession() {
        if (session != null) {
            return session;
        } else {
            return Model.getSession();
        }
    }

    public Query<M> setExtraSql(String sql) {
        this.extraSql = sql != null ? sql : "";
        return this;
    }

    public Query<M> setGroupBySql(String sql) {
        this.groupBySql = sql != null ? sql : "";
        return this;
    }

    public String getExtraSql() {
        return extraSql;
    }

    public String getGroupBySql() {
        return groupBySql;
    }

    public Query<M> setSession(Session session) {
        this.session = session;
        return this;
    }

    public String generateRandomTableAliasName() {
        return "table_alias_" + generatedNameCount.addAndGet(1);
    }

    public String getTableSymbol() {
        if (_tableSymbol == null) {
            _tableSymbol = generateRandomTableAliasName();
        }
        return _tableSymbol;
    }

    public String getUsingTableSymbol() {
        if(_tableSymbol != null) {
            return _tableSymbol;
        } else {
            return getSession().getSqlMapper().tableName(getSession().getEntityMetaOfClass(cls));
        }
    }

    /**
     * @param tableName maybe `User` or `User user`(then you can use user.name='abc' in expr)
     * @param session which session the query use
     */
    public Query(String tableName, Session session) {
        this.tableName = tableName;
        this.session = session;
    }

    public Query(Class<?> cls, Session session) {
        this.cls = cls;
        this.session = session;
        this.tableName = cls.getSimpleName(); // 这里使用类名而不是@Table(name=...)是因为HQL使用的是类名
    }

    public Query<M> limit(int limit) {
        _limit = limit;
        return this;
    }

    public Query<M> setMaxRows(int limit) {
        return limit(limit);
    }

    public Query<M> offset(int offset) {
        this._offset = offset;
        return this;
    }

    public Query<M> where(Expr expr) {
        this.condition = expr;
        return this;
    }

    public Query<M> clone() {
        Query<M> query = new Query<M>(tableName, session);
        query._limit = this._limit;
        query._offset = this._offset;
        query._tableSymbol = this._tableSymbol;
        query.condition = this.condition;
        query.orderBys = new ArrayList<OrderBy>();
        query.orderBys.addAll(this.orderBys);
        query.indexParameters = new HashMap<Integer, Object>();
        query.indexParameters.putAll(this.indexParameters);
        query.mapParameters = new HashMap<String, Object>();
        query.mapParameters.putAll(this.mapParameters);
        query.selectColumns = new HashMap<String, String>();
        query.selectColumns.putAll(this.selectColumns);
        query.joinInfos = new ArrayList<JoinInfo>();
        query.joinInfos.addAll(this.joinInfos);
        query.cls = this.cls;
        query.useAlias = this.useAlias;
        query.session = this.session;
        query.extraSql = this.extraSql;
        query.groupBySql = this.groupBySql;
        return query;
    }

    public Query<M> select(String property, String asProperty) {
        SqlMapper sqlMapper = getSession().getSqlMapper();
        ModelMeta modelMeta = getSession().getEntityMetaOfClass(cls);
        ModelMeta.ModelColumnMeta modelColumnMeta = modelMeta.getColumnMetaByFieldName(property);
        if (modelColumnMeta == null) {
            this.selectColumns.put(property, asProperty);
        } else {
            this.selectColumns.put(sqlMapper.getSqlColumnNameWrapped(modelColumnMeta.columnName), asProperty);
        }
        return this;
    }

    public Query<M> select(String property) {
        SqlMapper sqlMapper = getSession().getSqlMapper();
        ModelMeta modelMeta = getSession().getEntityMetaOfClass(cls);
        ModelMeta.ModelColumnMeta modelColumnMeta = modelMeta.getColumnMetaByFieldName(property);
        if (modelColumnMeta == null) {
            this.selectColumns.put(property, property);
        } else {
            this.selectColumns.put(sqlMapper.getSqlColumnNameWrapped(modelColumnMeta.columnName), modelColumnMeta.columnName);
        }
        return this;
    }

    public JoinInfo.Builder outJoin(String tableName, String tableAlias) {
        return join(tableName, tableAlias, JoinInfo.OUT);
    }

    public JoinInfo.Builder rightJoin(String tableName, String tableAlias) {
        return join(tableName, tableAlias, JoinInfo.RIGHT);
    }

    public JoinInfo.Builder leftJoin(String tableName, String tableAlias) {
        return join(tableName, tableAlias, JoinInfo.LEFT);
    }

    public JoinInfo.Builder innerJoin(String tableName, String tableAlias) {
        return join(tableName, tableAlias, JoinInfo.INNER);
    }

    public JoinInfo.Builder join(String tableName, String tableAlias) {
        return join(tableName, tableAlias, JoinInfo.INNER);
    }

    public JoinInfo.Builder join(String tableName, String tableAlias, int joinType) {
        if (StringUtil.isEmpty(tableAlias)) {
            tableAlias = tableName;
        }
        if (StringUtil.isEmpty(tableName)) {
            return new JoinInfo.Builder<M>(this, null);
        }
        JoinInfo joinInfo = new JoinInfo();
        joinInfo.setType(joinType);
        joinInfo.setJoinTableName(tableName);
        joinInfo.setJoinTableAlias(tableAlias);
        this.joinInfos.add(joinInfo);
        return new JoinInfo.Builder<M>(this, joinInfo);
    }

    public Query<M> addJoinInfo(JoinInfo joinInfo) {
        if(joinInfo!=null) {
            this.joinInfos.add(joinInfo);
        }
        return this;
    }

    public Query<M> setParameter(String key, Object value) {
        this.mapParameters.put(key, value);
        return this;
    }

    public Query<M> setParameter(int index, Object value) {
        this.indexParameters.put(index, value);
        return this;
    }

    public Query<M> eq(String name, Object value) {
        return eq(name, value, SqlTypes.ANY);
    }

    public Query<M> eq(String name, Object value, int sqlType) {
        this.condition = this.condition.eq(name, value, sqlType);
        return this;
    }

    public Query<M> in(String property, Object value) {
        this.condition = this.condition.in(property, value);
        return this;
    }

    public Query<M> ne(String name, Object value) {
        this.condition = this.condition.ne(name, value);
        return this;
    }

    public Query<M> gt(String name, Object value) {
        this.condition = this.condition.gt(name, value);
        return this;
    }

    public Query<M> alias(String aliasTableName) {
        this._tableSymbol = aliasTableName;
        useAlias = true;
        return this;
    }

    public Query<M> alias() {
        getTableSymbol();
        useAlias = true;
        return this;
    }

    /**
     * direct query sql string
     * 在.gt(prop, Query.sql(...))等查询中,作为非parameter参数,而是直接并入到query sql中
     * @param sql
     * @return
     */
    public static DirectSql directSql(String sql) {
        return new DirectSql(sql);
    }

    public Query<M> ge(String name, Object value) {
        this.condition = this.condition.ge(name, value);
        return this;
    }

    public Query<M> like(String name, Object value) {
        this.condition = this.condition.like(name, value);
        return this;
    }

    public Query<M> lt(String name, Object value) {
        this.condition = this.condition.lt(name, value);
        return this;
    }

    public Query<M> le(String name, Object value) {
        this.condition = this.condition.le(name, value);
        return this;
    }

    public Query<M> exists(Query<?> subQuery) {
        this.condition = this.condition.exists(subQuery);
        return this;
    }

    public Query<M> exists(String subQuery) {
        this.condition = this.condition.exists(subQuery);
        return this;
    }

    public Query<M> not(Expr expr) {
        this.condition = this.condition.not(expr);
        return this;
    }

    public Query<M> notExists(Query<?> subQuery) {
        this.condition = this.condition.notExists(subQuery);
        return this;
    }

    public Query<M> notExists(String subQuery) {
        this.condition = this.condition.notExists(subQuery);
        return this;
    }

    public Query<M> or(Expr... exprs) {
        if(exprs.length<1) {
            return this;
        }
        Expr curExpr = exprs[0];
        for(int i=1;i<exprs.length;++i) {
            curExpr = curExpr.or(exprs[i]);
        }
        this.condition = this.condition.and(curExpr);
        return this;
    }

//    public Query<M> or(Expr expr1, Expr expr2) {
//        this.condition = this.condition.and(expr1.or(expr2));
//        return this;
//    }

    public Query<M> and(Expr expr) {
        this.condition = this.condition.and(expr);
        return this;
    }

    public Query<M> orderBy(String sort) {
        return orderBy(sort, true);
    }

    public Query<M> orderBy(String sort, boolean asc) {
        this.orderBys.add(new OrderBy(getSession().columnNameInQuery(cls, sort), asc));
        return this;
    }

    public Query<M> asc(String sort) {
        return orderBy(sort, true);
    }

    public Query<M> desc(String sort) {
        return orderBy(sort, false);
    }

    public String getOrderByString() {
        final Query _this = this;
        List<String> orderByStrs = ListUtil.map(this.orderBys, new Function<OrderBy, String>() {
            @Override
            public String apply(OrderBy orderBy) {
                return orderBy != null ? orderBy.toOrderByString(_this) : null;
            }
        });
        return StringUtil.join(orderByStrs, ",");
    }

    public String where(String subQueryCondition) {
        SqlMapper sqlMapper = getSession().getSqlMapper();
        return sqlMapper.getWhereSubSql(subQueryCondition);
    }

    public String table() {
        SqlMapper sqlMapper = getSession().getSqlMapper();
        ModelMeta modelMeta = getSession().getEntityMetaOfClass(cls);
        return sqlMapper.tableName(modelMeta);
    }

    public QueryInfo toWhereQueryInfo() {
        SqlMapper sqlMapper = getSession().getSqlMapper();
        return this.condition != null ? this.condition.toQueryString(sqlMapper, this) : null;
    }

    public int executeUpdateQueryInfo(QueryInfo queryInfo) {
        return executeUpdateQueryInfo(queryInfo.getQueryString(), queryInfo.getParameterBindings());
    }

    public QuerySqlBuilder sqlBuilder() {
        return new QuerySqlBuilder(this);
    }

    public int executeUpdateQueryInfo(String sql, ParameterBindings bindings) {
        IWrappedQuery typedQuery = getSession().createQuery(sql);
        if (bindings != null) {
            for (int i = 0; i < bindings.getIndexBindings().size(); ++i) {
                typedQuery = typedQuery.setParameter(i + getSession().getIndexParamBaseOrdinal(), bindings.getIndexBindings().get(i));
            }
            for (String key : bindings.getMapBindings().keySet()) {
                typedQuery = typedQuery.setParameter(key, bindings.getMapBindings().get(key));
            }
        }
        return typedQuery.executeUpdate();
    }

    public QueryInfo toQuery() {
        SqlMapper sqlMapper = getSession().getSqlMapper();
        ModelMeta modelMeta = getSession().getEntityMetaOfClass(cls);
        String queryStr = sqlMapper.getFromSubSql(modelMeta, useAlias, getUsingTableSymbol()).getLeft();
        if (joinInfos.size() > 0) {
            for (JoinInfo joinInfo : joinInfos) {
                if (joinInfo.getJoinConditions().size() < 1) {
                    continue;
                }
                String joinSql = " " + sqlMapper.getOfJoin(joinInfo) + " ";
                for (Pair<String, String> joinCond : joinInfo.getJoinConditions()) {
                    joinSql += " " + sqlMapper.getOfJoinOn(joinCond);
                }
                queryStr += joinSql + " ";
            }
        }
        QueryInfo exprQuery = this.condition != null ? this.condition.toQueryString(sqlMapper, this) : null;
        if (exprQuery != null) {
            queryStr += sqlMapper.getWhereSubSql(exprQuery.getQueryString());
        }
        queryStr += this.groupBySql + " ";
        if (this.orderBys.size() > 0) {
            queryStr += sqlMapper.getOrderBySubSql(this.getOrderByString());
        }
        ParameterBindings bindings = new ParameterBindings();
        if (exprQuery != null) {
            bindings = exprQuery.getParameterBindings();
        }
        QueryExtras extras = new QueryExtras();
        if (this._limit >= 0) {
            extras.setMax(this._limit);
        }
        if (this._offset >= 0) {
            extras.setOffset(this._offset);
        }
        queryStr += extraSql;
        return new QueryInfo(queryStr, bindings, extras);
    }

    public long count(Session session) {
        if (this.cls == null) {
            throw new RuntimeException("you need pass a model class");
        }
        return count(session, this.cls);
    }

    public long count() {
        return count(session);
    }

    public long count(Session session, Class<?> model) {
        // can't use getSingleResult simply, because in distributed mysql cluster, count sql may return multi rows
        List result = getTypedQuery(session, Long.class, new Function<String, String>() {
            @Override
            public String apply(String s) {
                s = s.trim();
                if(s.toUpperCase().startsWith("FROM")) {
                    return "SELECT COUNT(1) " + s;
                } else {
                    String alias = (getTableSymbol() + "_alias_" + StringUtil.randomString(5)).toUpperCase();
                    return String.format("SELECT COUNT(1) FROM (%s) %s", s, alias);
                }
            }
        }).getResultList();
        return (Long) ListUtil.reduce(result, 0L, new Function2() {
            @Override
            public Object apply(Object o1, Object o2) {
                if (o1 == null && o2 == null) {
                    return 0L;
                }
                if (o1 == null) {
                    return o2;
                }
                return (Long) o1 + (Long) o2;
            }
        });
    }

    public long count(Class<?> model) {
        return count(session, model);
    }

    public List<M> all() {
        return all(session);
    }

    public List<M> all(Session session) {
        if (this.cls == null) {
            throw new RuntimeException("you need pass a model class");
        }
        return all(session, this.cls);
    }

    public IWrappedQuery getTypedQuery(Session session, Class<?> model) {
        return getTypedQuery(session, model, null);
    }

    public IWrappedQuery getTypedQuery(Class<?> model) {
        return getTypedQuery(Model.getSession(), model);
    }

    public IWrappedQuery getTypedQuery(Class<?> model, Function<String, String> queryWrapper) {
        return getTypedQuery(session, model, queryWrapper);
    }

    /**
     * @param session use which session
     * @param model        to model to query
     * @param queryWrapper post-processor to process HQL string, before execute the HQL
     * @return typed query
     */
    public IWrappedQuery getTypedQuery(Session session, Class<?> model, Function<String, String> queryWrapper) {
        QueryInfo query = this.toQuery();
        String queryString = query.getQueryString();
        queryString = session.getSqlMapper().wrapQueryWithSelect(session.getEntityMetaOfClass(model), queryString, this.selectColumns);
        if (queryWrapper != null) {
            queryString = queryWrapper.apply(queryString);
        }
        IWrappedQuery typedQuery = session.createQuery(model, queryString);
        QueryExtras extras = query.getExtras();
        ParameterBindings bindings = query.getParameterBindings();
        if (extras != null) {
            if (extras.getMax() >= 0) {
                typedQuery = typedQuery.setMaxResults(session, bindings, extras.getMax());
            }
            if (extras.getOffset() >= 0) {
                typedQuery = typedQuery.setFirstResult(session, bindings, extras.getOffset());
            }
        }
        if (bindings != null) {
            for (int i = 0; i < bindings.getIndexBindings().size(); ++i) {
                typedQuery = typedQuery.setParameter(i + session.getIndexParamBaseOrdinal(), bindings.getIndexBindings().get(i));
            }
            for (String key : bindings.getMapBindings().keySet()) {
                typedQuery = typedQuery.setParameter(key, bindings.getMapBindings().get(key));
            }
        }
        return typedQuery;
    }

    public List<M> findList() {
        return findList(session);
    }

    public List<M> findList(Session session) {
        return all(session);
    }

    public List<M> all(Class<?> model) {
        return all(session, model);
    }

    public List<M> all(Session session, Class<?> model) {
        return getTypedQuery(session, model).getResultList();
    }

    public <T> List<T> allSelected(Class<? extends T> model) {
        return allSelected(session, model);
    }

    public <T> List<T> allSelected(Session session, Class<? extends T> model) {
        return getTypedQuery(session, model).getResultList();
    }

    public M first() {
        return first(session);
    }

    public M first(Session session) {
        if (this.cls == null) {
            throw new RuntimeException("you need pass a model class");
        }
        return first(session, this.cls);
    }

    public M first(Class<?> model) {
        return first(Model.getSession(), model);
    }

    public M first(Session session, Class<?> model) {
        return (M) ListUtil.first(getTypedQuery(session, model).setMaxResults(1).getResultList());
    }

    public <T> T firstSelected(Class<? extends T> model) {
        return firstSelected(Model.getSession(), model);
    }

    public <T> T firstSelected(Session session, Class<? extends T> model) {
        return (T) ListUtil.first(getTypedQuery(session, model).setMaxResults(1).getResultList());
    }

    public M findUnique() {
        return findUnique(Model.getSession());
    }

    public M findUnique(Session session) {
        return first(session);
    }

    public M findUnique(Class<?> model) {
        return first(model);
    }

    public M findUnique(Session session, Class<?> model) {
        return first(session, model);
    }

    public <T> T findUniqueSelected(Class<? extends T> model) {
        return firstSelected(model);
    }

    public <T> T findUniqueSelected(Session session, Class<? extends T> model) {
        return firstSelected(session, model);
    }

    public M single(Class<?> model) {
        return single(Model.getSession(), model);
    }

    public M single(Session session, Class<?> model) {
        return (M) getTypedQuery(session, model).setMaxResults(1).getSingleResult();
    }
}


text:
class PrefService;

namespace base {
class SequencedTaskRunner;
}

namespace chromeos {
class DeviceSettingsService;
}

namespace policy {

class DeviceCloudPolicyManagerChromeOS;
class DeviceCloudPolicyStoreChromeOS;
class DeviceManagementService;
class EnrollmentHandlerChromeOS;
class EnterpriseInstallAttributes;

// This class connects DCPM to the correct device management service, and
// handles the enrollment process.
class DeviceCloudPolicyInitializer : public CloudPolicyStore::Observer {
 public:
  typedef std::bitset<32> AllowedDeviceModes;
  typedef base::Callback<void(EnrollmentStatus)> EnrollmentCallback;

  // |background_task_runner| is used to execute long-running background tasks
  // that may involve file I/O.
  // |on_connected_callback| is invoked after the device cloud policy manager
  // is connected.
  DeviceCloudPolicyInitializer(
      PrefService* local_state,
      DeviceManagementService* enterprise_service,
      DeviceManagementService* consumer_service,
      const scoped_refptr<base::SequencedTaskRunner>& background_task_runner,
      EnterpriseInstallAttributes* install_attributes,
      ServerBackedStateKeysBroker* state_keys_broker,
      DeviceCloudPolicyStoreChromeOS* device_store,
      DeviceCloudPolicyManagerChromeOS* manager,
      chromeos::DeviceSettingsService* device_settings_service,
      const base::Closure& on_connected_callback);

  virtual ~DeviceCloudPolicyInitializer();

  virtual void Init();
  virtual void Shutdown();

  // Starts enrollment or re-enrollment. Once the enrollment process completes,
  // |enrollment_callback| is invoked and gets passed the status of the
  // operation.
  // |allowed_modes| specifies acceptable DEVICE_MODE_* constants for
  // enrollment.
  // |management_mode| should be either ENTERPRISE_MANAGED or CONSUMER_MANAGED.
  virtual void StartEnrollment(
      enterprise_management::PolicyData::ManagementMode management_mode,
      DeviceManagementService* device_management_service,
      const std::string& auth_token,
      bool is_auto_enrollment,
      const AllowedDeviceModes& allowed_modes,
      const EnrollmentCallback& enrollment_callback);

  // Checks whether enterprise enrollment should be a regular step during OOBE.
  bool ShouldAutoStartEnrollment() const;

  // Checks whether enterprise enrollment recovery is required.
  bool ShouldRecoverEnrollment() const;

  // Looks up the domain from |install_attributes_|.
  std::string GetEnrollmentRecoveryDomain() const;

  // Checks whether the user can cancel enrollment.
  bool CanExitEnrollment() const;

  // Gets the domain this device is supposed to be enrolled to.
  std::string GetForcedEnrollmentDomain() const;

  // CloudPolicyStore::Observer:
  virtual void OnStoreLoaded(CloudPolicyStore* store) OVERRIDE;
  virtual void OnStoreError(CloudPolicyStore* store) OVERRIDE;

 private:
  // Handles completion signaled by |enrollment_handler_|.
  void EnrollmentCompleted(const EnrollmentCallback& enrollment_callback,
                           EnrollmentStatus status);

  // Creates a new CloudPolicyClient.
  scoped_ptr<CloudPolicyClient> CreateClient(
      DeviceManagementService* device_management_service);

  void TryToCreateClient();
  void StartConnection(scoped_ptr<CloudPolicyClient> client);

  // Gets the device restore mode as stored in |local_state_|.
  std::string GetRestoreMode() const;

  PrefService* local_state_;
  DeviceManagementService* enterprise_service_;
  DeviceManagementService* consumer_service_;
  scoped_refptr<base::SequencedTaskRunner> background_task_runner_;
  EnterpriseInstallAttributes* install_attributes_;
  ServerBackedStateKeysBroker* state_keys_broker_;
  DeviceCloudPolicyStoreChromeOS* device_store_;
  DeviceCloudPolicyManagerChromeOS* manager_;
  chromeos::DeviceSettingsService* device_settings_service_;
  base::Closure on_connected_callback_;
  bool is_initialized_;

  // Non-NULL if there is an enrollment operation pending.
  scoped_ptr<EnrollmentHandlerChromeOS> enrollment_handler_;

  ServerBackedStateKeysBroker::Subscription state_keys_update_subscription_;

  scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_;

  DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyInitializer);
};

}  // namespace policy

#endif  // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_

redpajama_set_name: RedPajamaGithub


text:
.formCustomize{
    margin-bottom: 30px;
}
#selectedFile{
    width: 80%;
}
.panel-heading{
    cursor: pointer;
}


text:
package com.sastix.cms.common.services.htmltopdf;

import com.sastix.cms.common.services.htmltopdf.config.HtmlToPdfConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PdfBuilder {

    @Autowired
    HtmlToPdfConfig htmlToPdfConfig;

    public PdfImpl build(){
        return new PdfImpl(htmlToPdfConfig);
    }
}


text:
FROM ubuntu:14.04

MAINTAINER Tim Sutton <tim@kartoza.com>

RUN export DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND noninteractive
RUN dpkg-divert --local --rename --add /sbin/initctl

# Use local cached debs from host (saves your bandwidth!)
# Change ip below to that of your apt-cacher-ng host
# Or comment this line out if you do not wish to use caching
ADD 71-apt-cacher-ng /etc/apt/apt.conf.d/71-apt-cacher-ng

# Install curl
RUN apt-get -y update && apt-get install -y curl

# Download and extract the executable to /usr/bin
RUN curl -o /usr/bin/btsync.tar.gz http://download-lb.utorrent.com/endpoint/btsync/os/linux-x64/track/stable
RUN cd /usr/bin && tar -xzvf btsync.tar.gz && rm btsync.tar.gz

# Web GUI
EXPOSE 8888
# Listening port
EXPOSE 55555

ADD btsync.conf /tmp/btsync.conf
ADD start.sh /start.sh

CMD ["/start.sh"]


text:
package com.cm.dolist;

import io.dropwizard.Application;
import io.dropwizard.setup.Environment;

public class AppMain extends Application<AppConfig> {
    public static void main(String[] args) throws Exception {
        new AppMain().run(args);
    }

    @Override
    public void run(AppConfig appConfig, Environment environment) throws Exception {
        environment.jersey().register(new DoListResource(new InMemoryDoListService()));
    }
}


text:
/**
 *  @file main.cpp
 *  @brief Initial file of test program
 *
 *  This file contains test program's
 *  main() function.
 *
 *  This program performs unit test of path finding algorithm
 *
 *
 *  @author Huei Tzu Tsai
 *  @date   03/07/2017
*/

/*
 *   @brief  unit test entrypoint
 *
 *   @param  void
 *   @return integer 0 upon exit success
*/
#include <gtest/gtest.h>

int main(int argc, char** argv) {
  ::testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}


text:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_vote"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.zhanghao.skinexpert.Activity.VoteActivity">
    <RelativeLayout
        android:id="@+id/relative_post"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:background="#ffffff">

        <ImageView
            android:id="@+id/img_post_back"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="5dp"
            android:clickable="true"
            android:onClick="onClick"
            android:src="@mipmap/ic_return_back"/>

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="40dp"
            android:layout_centerHorizontal="true">

            <TextView
                android:id="@+id/tv_post_release"
                android:layout_width="wrap_content"
                android:layout_height="40dp"
                android:gravity="center"
                android:text="发起投票"
                android:textColor="#000000"
                android:textSize="16sp"/>
        </LinearLayout>

        <TextView
            android:id="@+id/tv_post_send"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:layout_alignParentRight="true"
            android:layout_marginRight="10dp"
            android:gravity="center"
            android:onClick="onClick"
            android:clickable="true"
            android:text="发送"
            android:textColor="#ffffff"
            android:textSize="16sp"/>
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/ll_post_"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/relative_post"
        android:layout_marginTop="15dp"
        android:background="#ffffff"
        android:orientation="vertical">

        <EditText
            android:id="@+id/et_post"
            android:layout_margin="10dp"
            android:layout_width="match_parent"
            android:layout_height="150dp"
            android:background="@null"
            android:gravity="start"
            android:hint="请输入内容"/>

        <LinearLayout
            android:id="@+id/ll_post_pic_container"
            android:layout_below="@id/et_post"
            android:layout_width="wrap_content"
            android:orientation="horizontal"
            android:layout_height="60dp">

        </LinearLayout>

        <ImageView
            android:layout_below="@id/et_post"
            android:id="@+id/img_post_photo"
            android:layout_toRightOf="@id/ll_post_pic_container"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:layout_margin="10dp"
            android:onClick="onClick"
            android:clickable="true"
            android:src="@mipmap/ic_add_vote_pressed"/>
    </RelativeLayout>
</RelativeLayout>


text:
@class DataProvider;
@protocol DataReceiver <NSObject>

@property (nonatomic) DataProvider *dataProvider;

@end


text:
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
using Cielo4Net.Extensions;

namespace Cielo4Net
{
    /// <summary>
    ///     Pedido
    /// </summary>
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://ecommerce.cbmp.com.br")]
    public class Order
    {
        /// <summary>
        ///     Inicializa uma nova instância da classe <see cref="Order" />. A moeda nessa inicializar será o real, o idioma
        ///     português e data e hora a atual.
        /// </summary>
        public Order()
        {
            Currency = Currency.Real;
            Language = Language.Portuguese;
            Date = DateTime.Now;
        }

        /// <summary>
        ///     Inicializa uma nova instância da classe <see cref="Order" />.
        /// </summary>
        /// <param name="number">Número do pedido da loja. Recomenda-se que seja um valor único por pedido.</param>
        /// <param name="amount">
        ///     Valor a ser cobrado pelo pedido (já deve incluir valores de frete, embrulho, custos extras, taxa
        ///     de embarque, etc). Esse valor é o que será debitado do consumidor.
        /// </param>
        /// <param name="description">Descrição do pedido.</param>
        public Order(string number, decimal amount, string description) : this()
        {
            Number = number;
            Amount = amount.OnlyNumbers();
            Description = description;
        }

        /// <summary>
        ///     Recupera ou define o número do pedido da loja. Recomenda-se que seja um valor único por pedido.
        /// </summary>
        [XmlElement("numero")]
        public string Number { get; set; }

        /// <summary>
        ///     Recupera ou define o valor a ser cobrado pelo pedido (já deve incluir valores de frete, embrulho, custos extras,
        ///     taxa de embarque, etc). Esse valor é o que será debitado do consumidor.
        /// </summary>
        [XmlElement("valor")]
        public int Amount { get; set; }

        /// <summary>
        ///     Recupera ou define <see cref="Currency" />.
        /// </summary>
        [XmlElement("moeda")]
        public Currency Currency { get; set; }

        /// <summary>
        ///     Recupera ou define a data e hora do pedido.
        /// </summary>
        [XmlElement("data-hora")]
        public DateTime Date { get; set; }

        /// <summary>
        ///     Recupera ou define descrição.
        /// </summary>
        [XmlElement("descricao")]
        public string Description { get; set; }

        /// <summary>
        ///     Recupera ou define <see cref="Language" />.
        /// </summary>
        [XmlElement("idioma")]
        public Language Language { get; set; }

        /// <summary>
        ///     Recupera ou define o valor destinado à taxa de embarque.
        /// </summary>
        [XmlElement("taxa-embarque")]
        public int DepartureTax { get; set; }

        /// <summary>
        ///     Recupera ou define texto impresso na fatura do portador. Texto de até 13 caracteres que será exibido na fatura do
        ///     portador, após o nome do Estabelecimento Comercial.
        /// </summary>
        [XmlElement("soft-descriptor")]
        public string ShortDescription { get; set; }
    }
}


text:
package com.orionplatform.core.validation;

public interface ValidationServiceIF
{
    Object validate();

    Object validate(Object... arguments);
}


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

  <title>EasyMock 3.0</title>

    Clover Coverage  Report - EasyMock 3.0
Coverage timestamp: sam. mai 8 2010 14:37:27 CEST

Overview   Package   File

        FRAMES
        NO FRAMES
        SHOW HELP

                    <map id="srcFileCovDistChart10.png" name="srcFileCovDistChart10.png">
<area shape="rect" coords="81,7,87,44" title="59 files have 91-100% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="74,44,80,45" title="1 file has 81-90% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="67,45,73,46" title="0 files have 71-80% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="60,45,66,46" title="0 files have 61-70% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="53,45,59,46" title="0 files have 51-60% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="46,45,52,46" title="0 files have 41-50% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="39,45,45,46" title="0 files have 31-40% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="32,45,38,46" title="0 files have 21-30% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="25,45,31,46" title="0 files have 11-20% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="18,45,24,46" title="0 files have 1-10% coverage" alt="" nohref="nohref"/>
<area shape="rect" coords="11,45,17,46" title="0 files have 0% coverage" alt="" nohref="nohref"/>
</map>

                    0% of files have more coverage

           Statistics for file ObjenesisClassInstantiator.java:

           Stmts:
                 1

           LOC:
                 30

           Total cmp:
                 1

           Stmts/Method:
                 1

           Branches:
                 0

           NCLOC:
                 7

           Cmp density:
                 1

           Methods/Class:
                 1

           Methods:
                 1

           Avg method cmp:
                 1

            Classes:
                  1

           Statistics for file ObjenesisClassInstantiator.java:

           Stmts:
                 1

           LOC:
                 30

           Total cmp:
                 1

           Stmts/Method:
                 1

           Branches:
                 0

           NCLOC:
                 7

           Cmp density:
                 1

           Methods/Class:
                 1

           Methods:
                 1

           Avg method cmp:
                 1

            Classes:
                  1

Legend

line#	hit count

1	86
               line hit by 1 or more tests which passed

2	17
               line was covered, but not by a test case

3	7
               line hit by 1 or more tests which did not pass

4	5
               line hit by more than one (selected) test

5	3
               line hit by one test only

6	2
               line hit by one or more (selected) tests that failed

7	1
               line has an expression (e.g. a branch) or statement that was not fully covered

8	1
               line has an expression that was not fully covered and not hit by any test

9	0
               line was not covered at all

10
               line was filtered

  Expand All

                                 ObjenesisClassInstantiator

                Line # 24

                    Total Statements
                    1

                    % Filtered
                    0%

                    Complexity
                    1

                    Uncovered Elements
                    0

                    TOTAL Coverage
                    100%

1.0

                newInstance(Class<?>) : Object
                  newInstance(Class<?>) : Object

                26
                26

                1.0
              1

                0.0
              0%

                1.0
              1

                0.0
              0

                1.0
              100%

1.0

          Show Tests (148) Select All  Deselect All

        Highlight

        Test Contribution

        Test

    Result

            <input type="checkbox" id="cb-177" value="177" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testAll

            org.easymock.tests2.EasyMockSupportClassTest.testAll

                  1
    PASS

            <input type="checkbox" id="cb-307" value="307" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testResetTo

            org.easymock.tests2.EasyMockClassExtensionTest.testResetTo

                  1
    PASS

            <input type="checkbox" id="cb-218" value="218" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_PartialMock_NoConstructorCalled

            org.easymock.tests2.MocksControlTest.testMocksControl_PartialMock_NoConstructorCalled

                  1
    PASS

            <input type="checkbox" id="cb-629" value="629" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.mockNativeMethod

            org.easymock.tests.LimitationsTest.mockNativeMethod

                  1
    PASS

            <input type="checkbox" id="cb-215" value="215" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testStrictPartialClassMocking

            org.easymock.tests.MockingTest.testStrictPartialClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-109" value="109" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateNiceMock

            org.easymock.tests2.MockBuilderTest.testCreateNiceMock

                  1
    PASS

            <input type="checkbox" id="cb-772" value="772" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNamedMock

            org.easymock.tests2.EasyMockClassExtensionTest.testNamedMock

                  1
    PASS

            <input type="checkbox" id="cb-602" value="602" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateControl

                  1
    PASS

            <input type="checkbox" id="cb-434" value="434" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testPartialClassMocking

            org.easymock.tests.MockingTest.testPartialClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-562" value="562" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-93" value="93" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testHashCode

            org.easymock.tests.MockClassControlTest.testHashCode

                  1
    PASS

            <input type="checkbox" id="cb-976" value="976" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testToString

            org.easymock.tests.MockClassControlTest.testToString

                  1
    PASS

            <input type="checkbox" id="cb-764" value="764" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMockString

            org.easymock.tests2.MockBuilderTest.testCreateMockString

                  1
    PASS

            <input type="checkbox" id="cb-452" value="452" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.mockFinalMethod

            org.easymock.tests.LimitationsTest.mockFinalMethod

                  1
    PASS

            <input type="checkbox" id="cb-1002" value="1002" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMockIMocksControl

            org.easymock.tests2.MockBuilderTest.testCreateMockIMocksControl

                  1
    PASS

            <input type="checkbox" id="cb-989" value="989" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNamedMock

            org.easymock.tests2.EasyMockClassExtensionTest.testNamedMock

                  1
    PASS

            <input type="checkbox" id="cb-440" value="440" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.ConstructorTest.emptyConstructor

            org.easymock.tests.ConstructorTest.emptyConstructor

                  1
    PASS

            <input type="checkbox" id="cb-574" value="574" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testCompare

            org.easymock.tests2.EasyMockClassExtensionTest.testCompare

                  1
    PASS

            <input type="checkbox" id="cb-819" value="819" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMockString

            org.easymock.tests2.MockBuilderTest.testCreateMockString

                  1
    PASS

            <input type="checkbox" id="cb-188" value="188" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-849" value="849" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_NamedPartialMock_NoConstructorCalled

            org.easymock.tests2.MocksControlTest.testMocksControl_NamedPartialMock_NoConstructorCalled

                  1
    PASS

            <input type="checkbox" id="cb-1062" value="1062" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock_Partial

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock_Partial

                  1
    PASS

            <input type="checkbox" id="cb-453" value="453" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.GenericTest.testBridgeUnmocked

            org.easymock.tests.GenericTest.testBridgeUnmocked

                  1
    PASS

            <input type="checkbox" id="cb-439" value="439" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testNiceClassMocking

            org.easymock.tests.MockingTest.testNiceClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-253" value="253" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testMock_Partial

            org.easymock.tests2.EasyMockClassExtensionTest.testMock_Partial

                  1
    PASS

            <input type="checkbox" id="cb-156" value="156" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testCheckOrder

            org.easymock.tests2.EasyMockClassExtensionTest.testCheckOrder

                  1
    PASS

            <input type="checkbox" id="cb-137" value="137" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMock

            org.easymock.tests2.MockBuilderTest.testCreateMock

                  1
    PASS

            <input type="checkbox" id="cb-1023" value="1023" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-385" value="385" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testToString_WithTwoOverload

            org.easymock.tests.MockClassControlTest.testToString_WithTwoOverload

                  1
    PASS

            <input type="checkbox" id="cb-581" value="581" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateNiceMockString

            org.easymock.tests2.MockBuilderTest.testCreateNiceMockString

                  1
    PASS

            <input type="checkbox" id="cb-339" value="339" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockedExceptionTest.testMockedException

            org.easymock.tests2.MockedExceptionTest.testMockedException

                  1
    PASS

            <input type="checkbox" id="cb-964" value="964" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.abstractClass

            org.easymock.tests.LimitationsTest.abstractClass

                  1
    PASS

            <input type="checkbox" id="cb-957" value="957" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock_Partial

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock_Partial

                  1
    PASS

            <input type="checkbox" id="cb-510" value="510" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-147" value="147" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-630" value="630" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-578" value="578" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMockStringIMocksControl

            org.easymock.tests2.MockBuilderTest.testCreateMockStringIMocksControl

                  1
    PASS

            <input type="checkbox" id="cb-1014" value="1014" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testToString

            org.easymock.tests.MockClassControlTest.testToString

                  1
    PASS

            <input type="checkbox" id="cb-513" value="513" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.SerializationTest.testAllMockedMethod

            org.easymock.tests2.SerializationTest.testAllMockedMethod

                  1
    PASS

            <input type="checkbox" id="cb-426" value="426" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testResetReplay

            org.easymock.tests2.EasyMockClassExtensionTest.testResetReplay

                  1
    PASS

            <input type="checkbox" id="cb-125" value="125" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testVarargs

            org.easymock.tests2.EasyMockClassExtensionTest.testVarargs

                  1
    PASS

            <input type="checkbox" id="cb-4" value="4" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMockStringIMocksControl

            org.easymock.tests2.MockBuilderTest.testCreateMockStringIMocksControl

                  1
    PASS

            <input type="checkbox" id="cb-450" value="450" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.ConstructorTest.emptyConstructor

            org.easymock.tests.ConstructorTest.emptyConstructor

                  1
    PASS

            <input type="checkbox" id="cb-529" value="529" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock_Partial

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock_Partial

                  1
    PASS

            <input type="checkbox" id="cb-825" value="825" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testResetTo

            org.easymock.tests2.EasyMockClassExtensionTest.testResetTo

                  1
    PASS

            <input type="checkbox" id="cb-471" value="471" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_Class_WithName

            org.easymock.tests2.MocksControlTest.testMocksControl_Class_WithName

                  1
    PASS

            <input type="checkbox" id="cb-755" value="755" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockedExceptionTest.testNotMockedFillInStackTrace

            org.easymock.tests2.MockedExceptionTest.testNotMockedFillInStackTrace

                  1
    PASS

            <input type="checkbox" id="cb-360" value="360" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testClassMocking

            org.easymock.tests2.EasyMockClassExtensionTest.testClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-144" value="144" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-761" value="761" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder_existingControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder_existingControl

                  1
    PASS

            <input type="checkbox" id="cb-848" value="848" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testNiceClassMocking

            org.easymock.tests.MockingTest.testNiceClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-541" value="541" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testAll

            org.easymock.tests2.EasyMockSupportClassTest.testAll

                  1
    PASS

            <input type="checkbox" id="cb-985" value="985" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-367" value="367" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testAllMockBuilderFlavors

            org.easymock.tests2.EasyMockSupportClassTest.testAllMockBuilderFlavors

                  1
    PASS

            <input type="checkbox" id="cb-223" value="223" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.GenericTest.testPackageScope

            org.easymock.tests.GenericTest.testPackageScope

                  1
    PASS

            <input type="checkbox" id="cb-916" value="916" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock_Partial

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock_Partial

                  1
    PASS

            <input type="checkbox" id="cb-754" value="754" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testStrictClassMocking

            org.easymock.tests.MockingTest.testStrictClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-954" value="954" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMock

            org.easymock.tests2.MockBuilderTest.testCreateMock

                  1
    PASS

            <input type="checkbox" id="cb-970" value="970" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.GenericTest.testBridgeUnmocked

            org.easymock.tests.GenericTest.testBridgeUnmocked

                  1
    PASS

            <input type="checkbox" id="cb-938" value="938" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testEquals_WithOverload

            org.easymock.tests.MockClassControlTest.testEquals_WithOverload

                  1
    PASS

            <input type="checkbox" id="cb-472" value="472" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_PartialMock_NoConstructorCalled

            org.easymock.tests2.MocksControlTest.testMocksControl_PartialMock_NoConstructorCalled

                  1
    PASS

            <input type="checkbox" id="cb-597" value="597" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictControl

                  1
    PASS

            <input type="checkbox" id="cb-119" value="119" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-791" value="791" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testToString_WithOverload

            org.easymock.tests.MockClassControlTest.testToString_WithOverload

                  1
    PASS

            <input type="checkbox" id="cb-663" value="663" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-251" value="251" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testMakeThreadSafe

            org.easymock.tests2.EasyMockClassExtensionTest.testMakeThreadSafe

                  1
    PASS

            <input type="checkbox" id="cb-829" value="829" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder

                  1
    PASS

            <input type="checkbox" id="cb-160" value="160" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-192" value="192" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateControl

                  1
    PASS

            <input type="checkbox" id="cb-712" value="712" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testClassMocking

            org.easymock.tests.MockingTest.testClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-894" value="894" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testVarargs

            org.easymock.tests2.EasyMockClassExtensionTest.testVarargs

                  1
    PASS

            <input type="checkbox" id="cb-259" value="259" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testCheckOrder

            org.easymock.tests2.EasyMockClassExtensionTest.testCheckOrder

                  1
    PASS

            <input type="checkbox" id="cb-728" value="728" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testHashCode_WithOverload

            org.easymock.tests.MockClassControlTest.testHashCode_WithOverload

                  1
    PASS

            <input type="checkbox" id="cb-483" value="483" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testMock_Partial

            org.easymock.tests2.EasyMockClassExtensionTest.testMock_Partial

                  1
    PASS

            <input type="checkbox" id="cb-947" value="947" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testCompare

            org.easymock.tests2.EasyMockClassExtensionTest.testCompare

                  1
    PASS

            <input type="checkbox" id="cb-16" value="16" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateStrictMockString

            org.easymock.tests2.MockBuilderTest.testCreateStrictMockString

                  1
    PASS

            <input type="checkbox" id="cb-348" value="348" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_Class

            org.easymock.tests2.MocksControlTest.testMocksControl_Class

                  1
    PASS

            <input type="checkbox" id="cb-196" value="196" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockedExceptionTest.testExplicitFillInStackTrace

            org.easymock.tests2.MockedExceptionTest.testExplicitFillInStackTrace

                  1
    PASS

            <input type="checkbox" id="cb-499" value="499" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.abstractClass

            org.easymock.tests.LimitationsTest.abstractClass

                  1
    PASS

            <input type="checkbox" id="cb-247" value="247" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-1030" value="1030" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testHashCode

            org.easymock.tests.MockClassControlTest.testHashCode

                  1
    PASS

            <input type="checkbox" id="cb-802" value="802" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockedExceptionTest.testMockedException

            org.easymock.tests2.MockedExceptionTest.testMockedException

                  1
    PASS

            <input type="checkbox" id="cb-175" value="175" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-297" value="297" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-436" value="436" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testAddMockedMethod

            org.easymock.tests2.MockBuilderTest.testAddMockedMethod

                  1
    PASS

            <input type="checkbox" id="cb-995" value="995" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder_existingControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder_existingControl

                  1
    PASS

            <input type="checkbox" id="cb-451" value="451" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_Class_WithName

            org.easymock.tests2.MocksControlTest.testMocksControl_Class_WithName

                  1
    PASS

            <input type="checkbox" id="cb-328" value="328" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.privateConstructor

            org.easymock.tests.LimitationsTest.privateConstructor

                  1
    PASS

            <input type="checkbox" id="cb-1079" value="1079" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testStrictClassMocking

            org.easymock.tests.MockingTest.testStrictClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-868" value="868" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock

                  1
    PASS

            <input type="checkbox" id="cb-366" value="366" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockStringClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-643" value="643" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testNicePartialClassMocking

            org.easymock.tests.MockingTest.testNicePartialClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-369" value="369" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_NamedPartialMock_NoConstructorCalled

            org.easymock.tests2.MocksControlTest.testMocksControl_NamedPartialMock_NoConstructorCalled

                  1
    PASS

            <input type="checkbox" id="cb-330" value="330" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-1055" value="1055" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-660" value="660" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateStrictMock

            org.easymock.tests2.MockBuilderTest.testCreateStrictMock

                  1
    PASS

            <input type="checkbox" id="cb-70" value="70" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock

            org.easymock.tests2.EasyMockClassExtensionTest.testStrictMock

                  1
    PASS

            <input type="checkbox" id="cb-59" value="59" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockBuilder

                  1
    PASS

            <input type="checkbox" id="cb-514" value="514" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testEquals

            org.easymock.tests.MockClassControlTest.testEquals

                  1
    PASS

            <input type="checkbox" id="cb-884" value="884" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testPartialClassMocking

            org.easymock.tests.MockingTest.testPartialClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-700" value="700" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testTwoMocks

            org.easymock.tests.MockingTest.testTwoMocks

                  1
    PASS

            <input type="checkbox" id="cb-904" value="904" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNormalMock

            org.easymock.tests2.EasyMockClassExtensionTest.testNormalMock

                  1
    PASS

            <input type="checkbox" id="cb-101" value="101" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testToString_WithTwoOverload

            org.easymock.tests.MockClassControlTest.testToString_WithTwoOverload

                  1
    PASS

            <input type="checkbox" id="cb-613" value="613" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNormalMock

            org.easymock.tests2.EasyMockClassExtensionTest.testNormalMock

                  1
    PASS

            <input type="checkbox" id="cb-475" value="475" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.CglibTest.test

            org.easymock.tests.CglibTest.test

                  1
    PASS

            <input type="checkbox" id="cb-642" value="642" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateNiceMock

            org.easymock.tests2.MockBuilderTest.testCreateNiceMock

                  1
    PASS

            <input type="checkbox" id="cb-165" value="165" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.ClassExtensionHelperTest.testGetControl_EasyMockClassExtension

            org.easymock.tests2.ClassExtensionHelperTest.testGetControl_EasyMockClassExtension

                  1
    PASS

            <input type="checkbox" id="cb-836" value="836" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockedExceptionTest.testExplicitFillInStackTrace

            org.easymock.tests2.MockedExceptionTest.testExplicitFillInStackTrace

                  1
    PASS

            <input type="checkbox" id="cb-999" value="999" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateMockIMocksControl

            org.easymock.tests2.MockBuilderTest.testCreateMockIMocksControl

                  1
    PASS

            <input type="checkbox" id="cb-649" value="649" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-1070" value="1070" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.CglibTest.test

            org.easymock.tests.CglibTest.test

                  1
    PASS

            <input type="checkbox" id="cb-1069" value="1069" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-232" value="232" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-167" value="167" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.mockFinalMethod

            org.easymock.tests.LimitationsTest.mockFinalMethod

                  1
    PASS

            <input type="checkbox" id="cb-527" value="527" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-855" value="855" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testAddMockedMethod

            org.easymock.tests2.MockBuilderTest.testAddMockedMethod

                  1
    PASS

            <input type="checkbox" id="cb-991" value="991" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testHashCode_WithOverload

            org.easymock.tests.MockClassControlTest.testHashCode_WithOverload

                  1
    PASS

            <input type="checkbox" id="cb-950" value="950" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testMakeThreadSafe

            org.easymock.tests2.EasyMockClassExtensionTest.testMakeThreadSafe

                  1
    PASS

            <input type="checkbox" id="cb-205" value="205" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.mockNativeMethod

            org.easymock.tests.LimitationsTest.mockNativeMethod

                  1
    PASS

            <input type="checkbox" id="cb-971" value="971" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceControl

                  1
    PASS

            <input type="checkbox" id="cb-1050" value="1050" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock

                  1
    PASS

            <input type="checkbox" id="cb-861" value="861" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockedExceptionTest.testNotMockedFillInStackTrace

            org.easymock.tests2.MockedExceptionTest.testNotMockedFillInStackTrace

                  1
    PASS

            <input type="checkbox" id="cb-1092" value="1092" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateMockStringClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-347" value="347" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testAllMockBuilderFlavors

            org.easymock.tests2.EasyMockSupportClassTest.testAllMockBuilderFlavors

                  1
    PASS

            <input type="checkbox" id="cb-932" value="932" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceControl

                  1
    PASS

            <input type="checkbox" id="cb-906" value="906" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testStrictPartialClassMocking

            org.easymock.tests.MockingTest.testStrictPartialClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-567" value="567" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testNicePartialClassMocking

            org.easymock.tests.MockingTest.testNicePartialClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-703" value="703" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.GenericTest.testPackageScope

            org.easymock.tests.GenericTest.testPackageScope

                  1
    PASS

            <input type="checkbox" id="cb-113" value="113" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfTMethodArray

            org.easymock.tests2.EasyMockSupportClassTest.testCreateNiceMockClassOfTMethodArray

                  1
    PASS

            <input type="checkbox" id="cb-166" value="166" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.SerializationTest.testAllMockedMethod

            org.easymock.tests2.SerializationTest.testAllMockedMethod

                  1
    PASS

            <input type="checkbox" id="cb-931" value="931" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictControl

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictControl

                  1
    PASS

            <input type="checkbox" id="cb-80" value="80" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateStrictMock

            org.easymock.tests2.MockBuilderTest.testCreateStrictMock

                  1
    PASS

            <input type="checkbox" id="cb-1037" value="1037" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.LimitationsTest.privateConstructor

            org.easymock.tests.LimitationsTest.privateConstructor

                  1
    PASS

            <input type="checkbox" id="cb-573" value="573" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.ClassExtensionHelperTest.testGetControl_EasyMockClassExtension

            org.easymock.tests2.ClassExtensionHelperTest.testGetControl_EasyMockClassExtension

                  1
    PASS

            <input type="checkbox" id="cb-741" value="741" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfT

            org.easymock.tests2.EasyMockSupportClassTest.testCreateStrictMockStringClassOfT

                  1
    PASS

            <input type="checkbox" id="cb-606" value="606" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.ConstructorTest.constructorCallingPublicMethod

            org.easymock.tests.ConstructorTest.constructorCallingPublicMethod

                  1
    PASS

            <input type="checkbox" id="cb-306" value="306" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.ConstructorTest.constructorCallingPublicMethod

            org.easymock.tests.ConstructorTest.constructorCallingPublicMethod

                  1
    PASS

            <input type="checkbox" id="cb-270" value="270" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testClassMocking

            org.easymock.tests2.EasyMockClassExtensionTest.testClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-1017" value="1017" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testToString_WithOverload

            org.easymock.tests.MockClassControlTest.testToString_WithOverload

                  1
    PASS

            <input type="checkbox" id="cb-1065" value="1065" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateStrictMockString

            org.easymock.tests2.MockBuilderTest.testCreateStrictMockString

                  1
    PASS

            <input type="checkbox" id="cb-288" value="288" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testResetReplay

            org.easymock.tests2.EasyMockClassExtensionTest.testResetReplay

                  1
    PASS

            <input type="checkbox" id="cb-305" value="305" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock

            org.easymock.tests2.EasyMockClassExtensionTest.testNiceMock

                  1
    PASS

            <input type="checkbox" id="cb-430" value="430" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MocksControlTest.testMocksControl_Class

            org.easymock.tests2.MocksControlTest.testMocksControl_Class

                  1
    PASS

            <input type="checkbox" id="cb-22" value="22" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testEquals_WithOverload

            org.easymock.tests.MockClassControlTest.testEquals_WithOverload

                  1
    PASS

            <input type="checkbox" id="cb-670" value="670" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockClassControlTest.testEquals

            org.easymock.tests.MockClassControlTest.testEquals

                  1
    PASS

            <input type="checkbox" id="cb-213" value="213" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests2.MockBuilderTest.testCreateNiceMockString

            org.easymock.tests2.MockBuilderTest.testCreateNiceMockString

                  1
    PASS

            <input type="checkbox" id="cb-1026" value="1026" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testClassMocking

            org.easymock.tests.MockingTest.testClassMocking

                  1
    PASS

            <input type="checkbox" id="cb-194" value="194" name="testMethod" onclick="hiLightByTest(this.value, this.checked); return true;"/>

            1.0

            org.easymock.tests.MockingTest.testTwoMocks

            org.easymock.tests.MockingTest.testTwoMocks

                  1
    PASS

Collapse All

    1

    16

    17

      package org.easymock.internal;

    18

    19

      import org.objenesis.ObjenesisHelper;

    20

    21

      /**

    22

       * @author Henri Tremblay

    23

       */

	100%
           Uncovered Elements: 0 (2)
           Complexity: 1
           Complexity Density: 1

    24

      public class ObjenesisClassInstantiator implements IClassInstantiator {

    25

	100%
           Uncovered Elements: 0 (1)
           Complexity: 1
           Complexity Density: 1

    26

           192

          public Object newInstance(final Class<?> clazz) throws InstantiationException {...

    27

           192

              return ObjenesisHelper.newInstance(clazz);

    28

          }

    29

    30

      }

 	Report generated by Clover Code Coverage v3.0.1
sam. mai 8 2010 14:37:33 CEST.
 	 	Clover: Open Source License registered to EasyMock .


text:
$(window).on('load', function() { // makes sure the whole site is loaded
  $('#status').fadeOut(); // will first fade out the loading animation
  $('#preloader').delay(350).fadeOut('slow'); // will fade out the white DIV that covers the website.
  $('body').delay(350).css({'overflow':'visible'});
})
var main = {

  bigImgEl : null,
  numImgs : null,

  init : function() {
    // Shorten the navbar after scrolling a little bit down
    $(window).scroll(function() {
        if ($(".navbar").offset().top > 50) {
            $(".navbar").addClass("top-nav-short");
        } else {
            $(".navbar").removeClass("top-nav-short");
        }
    });

    // On mobile, hide the avatar when expanding the navbar menu
    $('#main-navbar').on('show.bs.collapse', function () {
      $(".navbar").addClass("top-nav-expanded");
    });
    $('#main-navbar').on('hidden.bs.collapse', function () {
      $(".navbar").removeClass("top-nav-expanded");
    });

    // On mobile, when clicking on a multi-level navbar menu, show the child links
    $('#main-navbar').on("click", ".navlinks-parent", function(e) {
      var target = e.target;
      $.each($(".navlinks-parent"), function(key, value) {
        if (value == target) {
          $(value).parent().toggleClass("show-children");
        } else {
          $(value).parent().removeClass("show-children");
        }
      });
    });

    // Ensure nested navbar menus are not longer than the menu header
    var menus = $(".navlinks-container");
    if (menus.length > 0) {
      var navbar = $("#main-navbar ul");
      var fakeMenuHtml = "

";
      navbar.append(fakeMenuHtml);
      var fakeMenu = $(".fake-menu");

      $.each(menus, function(i) {
        var parent = $(menus[i]).find(".navlinks-parent");
        var children = $(menus[i]).find(".navlinks-children a");
        var words = [];
        $.each(children, function(idx, el) { words = words.concat($(el).text().trim().split(/\s+/)); });
        var maxwidth = 0;
        $.each(words, function(id, word) {
          fakeMenu.html("" + word + "");
          var width =  fakeMenu.width();
          if (width > maxwidth) {
            maxwidth = width;
          }
        });
        $(menus[i]).css('min-width', maxwidth + 'px')
      });

      fakeMenu.remove();
    }

    // show the big header image
    main.initImgs();
  },

  initImgs : function() {
    // If the page was large images to randomly select from, choose an image
    if ($("#header-big-imgs").length > 0) {
      main.bigImgEl = $("#header-big-imgs");
      main.numImgs = main.bigImgEl.attr("data-num-img");

          // 2fc73a3a967e97599c9763d05e564189
	  // set an initial image
	  var imgInfo = main.getImgInfo();
	  var src = imgInfo.src;
	  var desc = imgInfo.desc;
  	  main.setImg(src, desc);

	  // For better UX, prefetch the next image so that it will already be loaded when we want to show it
  	  var getNextImg = function() {
	    var imgInfo = main.getImgInfo();
	    var src = imgInfo.src;
	    var desc = imgInfo.desc;

		var prefetchImg = new Image();
  		prefetchImg.src = src;
		// if I want to do something once the image is ready: `prefetchImg.onload = function(){}`

  		setTimeout(function(){
                  var img = $("

").addClass("big-img-transition").css("background-image", 'url(' + src + ')');
  		  $(".intro-header.big-img").prepend(img);
  		  setTimeout(function(){ img.css("opacity", "1"); }, 50);

		  // after the animation of fading in the new image is done, prefetch the next one
  		  //img.one("transitioned webkitTransitionEnd oTransitionEnd MSTransitionEnd", function(){
		  setTimeout(function() {
		    main.setImg(src, desc);
			img.remove();
  			getNextImg();
		  }, 1000);
  		  //});
  		}, 6000);
  	  };

	  // If there are multiple images, cycle through them
	  if (main.numImgs > 1) {
  	    getNextImg();
	  }
    }
  },

  getImgInfo : function() {
  	var randNum = Math.floor((Math.random() * main.numImgs) + 1);
    var src = main.bigImgEl.attr("data-img-src-" + randNum);
	var desc = main.bigImgEl.attr("data-img-desc-" + randNum);

	return {
	  src : src,
	  desc : desc
	}
  },

  setImg : function(src, desc) {
	$(".intro-header.big-img").css("background-image", 'url(' + src + ')');
	if (typeof desc !== typeof undefined && desc !== false) {
	  $(".img-desc").text(desc).show();
	} else {
	  $(".img-desc").hide();
	}
  }
};

document.addEventListener('DOMContentLoaded', main.init);

simpleCart({

  checkout: {
     type: "PayPal",
     email: "andre.def93@gmail.com",
  },

  // tax: 0.075,
  // currency: "THB",

  cartStyle: "table",

  cartColumns: [
    { attr: "name" , label: "Nome" } ,
    { attr: "price" , label: "Preço", view: 'currency' } ,
    { attr: "size" , label: "Tamanho" } ,
    { attr: "color" , label: "Cor" } ,
    { view: "decrement" , label: false , text: "- 1" } ,
    { attr: "quantity" , label: "Qtd" } ,
    { view: "increment" , label: false , text: "+ 1" } ,
    { attr: "total" , label: "SubTotal", view: 'currency' } ,
    { view: "remove" , text: "Remover" , label: false }
  ]

});

// simpleCart.currency({
  // code: "THB",
  // name: "Thai Baht",
  // symbol: "฿",
  // delimiter: " ",
  // decimal: ",",
  // after: true,
  // accuracy: 0
// });

//* Refresh cart once simpleCart is ready to listen.
simpleCart.ready(function() {
  simpleCart.update();
});


text:
using System;
using JabbR.Models;

namespace JabbR.Commands
{
    [Command("invite", "Invite a user to join a room.", "user [room]", "room")]
    public class InviteCommand : UserCommand
    {
        public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser, string[] args)
        {
            if (args.Length == 0)
            {
                throw new InvalidOperationException("Who do you want to invite?");
            }

            string targetUserName = args[0];

            ChatUser targetUser = context.Repository.VerifyUser(targetUserName);

            if (targetUser == callingUser)
            {
                throw new InvalidOperationException("You can't invite yourself!");
            }

            string roomName = args.Length > 1 ? args[1] : callerContext.RoomName;

            if (String.IsNullOrEmpty(roomName))
            {
                throw new InvalidOperationException("Invite them to which room?");
            }

            ChatRoom targetRoom = context.Repository.VerifyRoom(roomName);

            context.NotificationService.Invite(callingUser, targetUser, targetRoom);
        }
    }
}


text:
namespace fengine
{
	class FWindow : public FWindowListener, public FSdlWindow
	{
		const static FString kDefaultTitle;
		enum
		{
			kDefaultWidth = 200,
			kDefaultHeight = 200
		};
	public:
		FWindow();

		explicit FWindow(const FString& title, const FPoint2i& pos, const FPoint2i& size, const fgui::WindowFlags& flags);

		virtual ~FWindow() = default;

		void Show();

		unsigned id() const noexcept { return id_; }

		bool active() const noexcept { return active_; }

		const FString& title() const noexcept { return title_; }

		const FPoint2i& pos() const noexcept { return pos_; }

		const FPoint2i& size() const noexcept { return size_; }

		const fgui::WindowFlags& flags() const noexcept { return GetSdlWindowFlags(); }

		bool IsCloseRequested() const
		{
			bool close = close_requested_;
			return close_requested_;
		}

	protected:
		virtual void CallEvent(FWindowEvent& e) override;

	private:
		unsigned id_;
		bool active_;
		bool visible_;
		bool exposed_;
		bool close_requested_;
		FString title_;
		FPoint2i pos_;
		FPoint2i size_;
		fgui::WindowFlags flags_;
	};
}
#endif // _3FENGINE_SRC_GUI_F_WINDOW_HPP_


text:
package com.ack.adventureandconquer.game.character;

import com.ack.adventureandconquer.game.klass.IsClass;

/**
 * Created by saskyrar on 05/03/15.
 */
public interface IsCharacter extends IsClass {

    public void setClassStrategy(IsClass classStrategy);
    public IsClass getClassStrategy();
}